Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cayenne.CayenneRuntimeException
org.apache.cayenne.ConfigurationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataDomainLoadException
A runtime exception thrown on failures in Cayenne configuration.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates newConfigurationExceptionwithout detail message.ConfigurationException(String messageFormat, Object... messageArgs) Constructs an exception with the specified message with an optional list of message formatting arguments.ConfigurationException(String messageFormat, Throwable cause, Object... messageArgs) ConfigurationException(Throwable cause) Constructs an exception wrapping another exception thrown elsewhere. -
Method Summary
Methods inherited from class CayenneRuntimeException
getExceptionLabel, getMessage, getUnlabeledMessageModifier and TypeMethodDescriptionstatic StringReturns message that includes Cayenne version label and the actual exception message.Returns exception message without Cayenne version label.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
public ConfigurationException()Creates newConfigurationExceptionwithout detail message. -
ConfigurationException
-
ConfigurationException
Constructs an exception wrapping another exception thrown elsewhere. -
ConfigurationException
-