Package dev.voidframework.exception
Class DataSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.exception.DataSourceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataSourceException.DriverLoadFailure,DataSourceException.NotConfigured
All exceptions thrown by the Data Source feature are subclasses of
DataSourceException.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException indicates that driver can't be loaded.static classException indicates that data source configuration is missing. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataSourceException(String message) Build a new instance.protectedDataSourceException(String message, Throwable cause) Build a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataSourceException
Build a new instance.- Parameters:
message- The detail message
-
DataSourceException
Build a new instance.- Parameters:
message- The detail messagecause- The cause
-