Class SQLExceptions


  • public class SQLExceptions
    extends Object
    • Constructor Detail

      • SQLExceptions

        public SQLExceptions()
    • Method Detail

      • 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)