ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/jdbc/JdbcBatchUpdateException.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/jdbc/JdbcBatchUpdateException.java
Status
scanned
Type
file
Name
JdbcBatchUpdateException.java
Extension
.java
Programming language
Java
Mime type
text/x-java
File type
Java source, ASCII text
Tag

      
    
Rootfs path

      
    
Size
2080 (2.0 KB)
MD5
722a10aa9967e49ac5ef899f40725ea4
SHA1
2c55675215b0b968a3ec7c7351c3c33d440e909e
SHA256
feb1c4b86d38d5a0d94f59cacb4c9f16ff31a0d911a8b7f85c67c12a589f8c3e
SHA512

      
    
SHA1_git
bb10ea0d72efe32c36fdb6c1043bfdceda3bd13b
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
JdbcBatchUpdateException.java | 2.0 KB |

/* * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.jdbc; import java.io.PrintStream; import java.io.PrintWriter; import java.sql.BatchUpdateException; import java.sql.SQLException; /** * Represents a batch update database exception. */ public final class JdbcBatchUpdateException extends BatchUpdateException { private static final long serialVersionUID = 1L; /** * INTERNAL * @param next exception * @param updateCounts affected record counts */ JdbcBatchUpdateException(SQLException next, int[] updateCounts) { super(next.getMessage(), next.getSQLState(), next.getErrorCode(), updateCounts); setNextException(next); } /** * INTERNAL * @param next exception * @param updateCounts affected record counts */ JdbcBatchUpdateException(SQLException next, long[] updateCounts) { super(next.getMessage(), next.getSQLState(), next.getErrorCode(), updateCounts, null); setNextException(next); } /** * INTERNAL */ @Override public void printStackTrace() { // The default implementation already does that, // but we do it again to avoid problems. // If it is not implemented, somebody might implement it // later on which would be a problem if done in the wrong way. printStackTrace(System.err); } /** * INTERNAL */ @Override public void printStackTrace(PrintWriter s) { if (s != null) { super.printStackTrace(s); if (getNextException() != null) { getNextException().printStackTrace(s); } } } /** * INTERNAL */ @Override public void printStackTrace(PrintStream s) { if (s != null) { super.printStackTrace(s); if (getNextException() != null) { getNextException().printStackTrace(s); } } } }
Detected license expression
mpl-2.0 AND epl-1.0
Detected license expression (SPDX)
MPL-2.0 AND EPL-1.0
Percentage of license text
4.74
Copyrights
- end_line: 2
  copyright: Copyright 2004-2023 H2 Group. Multiple-Licensed
  start_line: 2
Holders
- holder: H2 Group. Multiple-Licensed
  end_line: 2
  start_line: 2
Authors

      
    
License detections License expression License expression SPDX
mpl_2_0_and_epl_1_0-796bf8d7-f485-3520-923d-e6a4b1ecd2f3 mpl-2.0 AND epl-1.0 MPL-2.0 AND EPL-1.0
URL Start line End line
https://h2database.com/html/license.html 3 3
Package URL License Primary language
pkg:osgi/com.h2database.source@2.2.220