Package overit.geocall.da
Class DAException
java.lang.Object
java.lang.Throwable
java.lang.Exception
overit.geocall.da.DAException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingPoolException
The class represent a blocking exception that occurs in the data access phase performed by the DABase.
These kind of exceptions must be transformed into an appropriate ApplicationException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDAException(Exception cause) Creates the exception with the specified causeDAException(String message) Creates a new exception with the specified detail message.DAException(String message, Exception cause) Creates a new exception with the specified detail message passed as first parameter and cause passed as second one -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DAException
Creates the exception with the specified cause- Parameters:
cause- The specific cause of this exception
-
DAException
Creates a new exception with the specified detail message passed as first parameter and cause passed as second one- Parameters:
message- The error message attached to the exceptioncause- The specific cause of this exception
-
DAException
Creates a new exception with the specified detail message.- Parameters:
message- The error message attached to the exception.
-