Package org.kawanfw.sql.api.server
Class DatabaseConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.kawanfw.sql.api.server.DatabaseConfigurationException
- All Implemented Interfaces:
Serializable
public class DatabaseConfigurationException extends IllegalArgumentException
Thrown to indicate that a Database configuration error has been detected.
This may happen if a
DatabaseConfigurator
throws an Exception
of if the server-sql.properties
properties file contains
configuration errors.- Since:
- 1.0
- Author:
- Nicolas de Pomereu
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DatabaseConfigurationException()
Constructs a newDatabaseConfigurationException
with no detail message.DatabaseConfigurationException(String s)
Constructs a newDatabaseConfigurationException
with the specified detail message.DatabaseConfigurationException(String message, Throwable cause)
Constructs a newDatabaseConfigurationException
with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DatabaseConfigurationException
public DatabaseConfigurationException()Constructs a newDatabaseConfigurationException
with no detail message. -
DatabaseConfigurationException
Constructs a newDatabaseConfigurationException
with the specified detail message.- Parameters:
s
- the detail message.
-
DatabaseConfigurationException
Constructs a newDatabaseConfigurationException
with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-