Uses of Enum Class
is.codion.common.db.exception.ErrorType
Packages that use ErrorType
Package
Description
Database related classes.
Database related Exceptions.
-
Uses of ErrorType in is.codion.common.db.database
Methods in is.codion.common.db.database that return ErrorTypeModifier and TypeMethodDescriptionAbstractDatabase.errorType(SQLException exception) Returns the type of error the given exception represents, null if it is not recognized.Methods in is.codion.common.db.database with parameters of type ErrorTypeModifier and TypeMethodDescriptionAbstractDatabase.errorDetail(SQLException exception, ErrorType errorType) Returns the detail to append to the message associated with the given error type, the name of the column missing a value for example, null if none is available, which is the default. -
Uses of ErrorType in is.codion.common.db.exception
Methods in is.codion.common.db.exception that return ErrorTypeModifier and TypeMethodDescriptionstatic ErrorTypeReturns the enum constant of this class with the specified name.static ErrorType[]ErrorType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in is.codion.common.db.exception that return types with arguments of type ErrorTypeModifier and TypeMethodDescriptionDatabaseException.errorType()Returns the error type this exception is based on, if any.Constructors in is.codion.common.db.exception with parameters of type ErrorTypeModifierConstructorDescriptionAuthenticationException(ErrorType errorType, @Nullable String detail) Instantiates a new AuthenticationException, its message the one associated with the error typeDatabaseException(ErrorType errorType, @Nullable String detail) Constructs a new DatabaseException instance, based on an error type, its message the one associated with the error type, along with the detail, if any.DatabaseException(@Nullable SQLException cause, ErrorType errorType, @Nullable String detail) Constructs a new DatabaseException instance, based on an error type, its message the one associated with the error type, along with the detail, if any.QueryTimeoutException(@Nullable SQLException cause, ErrorType errorType, @Nullable String detail) Instantiates a new QueryTimeoutException, its message the one associated with the error typeReferentialIntegrityException(@Nullable SQLException cause, ErrorType errorType, @Nullable String detail, Operation operation) Instantiates a newReferentialIntegrityException, its message the one associated with the error type.UniqueConstraintException(@Nullable SQLException cause, ErrorType errorType, @Nullable String detail) Instantiates a new UniqueConstraintException, its message the one associated with the error type