Class SQLExceptions

java.lang.Object
org.cxbox.core.util.SQLExceptions

public class SQLExceptions extends Object
  • Constructor Details

    • SQLExceptions

      public SQLExceptions()
  • Method Details

    • isUniqueConstraintViolation

      public static boolean isUniqueConstraintViolation(Throwable ex)
    • isNotNullViolation

      public static boolean isNotNullViolation(Throwable ex)
    • isChildRecordsFound

      public static boolean isChildRecordsFound(Throwable ex)
    • isParentRecordNotFound

      public static boolean isParentRecordNotFound(Throwable ex)
    • isOra

      public static boolean isOra(Throwable ex, int code)
    • hasErrorCode

      public static boolean hasErrorCode(SQLException ex, int code)