Uses of Enum Class
is.codion.common.db.exception.Operation
Packages that use Operation
Package
Description
Database related classes.
Database related Exceptions.
-
Uses of Operation in is.codion.common.db.database
Methods in is.codion.common.db.database with parameters of type OperationModifier and TypeMethodDescriptionfinal DatabaseExceptionAbstractDatabase.exception(SQLException exception, Operation operation) Returns an exception based on theErrorTypeof the given exception, seeAbstractDatabase.errorType(SQLException), carrying the error type along with the detail, if any, seeAbstractDatabase.errorDetail(SQLException, ErrorType), its message the one associated with the error type, in the language of the one reading it, seeDatabaseException.getMessage(), or the exception message in case the error type is not recognized, seeAbstractDatabase.message(SQLException).Database.exception(SQLException exception, Operation operation) Wraps the given SQLException in a relevantDatabaseException, with a user-friendly message in case the error is recognized, otherwise the message fromexception. -
Uses of Operation in is.codion.common.db.exception
Methods in is.codion.common.db.exception that return OperationModifier and TypeMethodDescriptionReferentialIntegrityException.operation()static OperationReturns the enum constant of this class with the specified name.static Operation[]Operation.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in is.codion.common.db.exception with parameters of type OperationModifierConstructorDescriptionReferentialIntegrityException(@Nullable String message, Operation operation) Instantiates a newReferentialIntegrityException, for a client reconstructing this exception from a message, having noSQLExceptionto hand.ReferentialIntegrityException(@Nullable SQLException cause, ErrorType errorType, @Nullable String detail, Operation operation) Instantiates a newReferentialIntegrityException, its message the one associated with the error type.ReferentialIntegrityException(SQLException cause, @Nullable String message, Operation operation) Instantiates a newReferentialIntegrityException