|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cayenne.CayenneRuntimeException
public class CayenneRuntimeException
A generic unchecked exception that may be thrown by Cayenne framework. All runtime exceptions in Cayenne inherit from this class.
Constructor Summary | |
---|---|
CayenneRuntimeException()
Creates new CayenneRuntimeException without detail message. |
|
CayenneRuntimeException(String messageFormat,
Object... messageArgs)
Constructs an exception with the specified message and an optional list of message formatting arguments. |
|
CayenneRuntimeException(String messageFormat,
Throwable cause,
Object... messageArgs)
Constructs an exception with the specified message and exception cause and an optional list of message formatting arguments. |
|
CayenneRuntimeException(Throwable cause)
Constructs an CayenneRuntimeException that wraps
exception thrown elsewhere. |
Method Summary | |
---|---|
String |
getMessage()
Returns message that includes Cayenne version label and the actual exception message. |
String |
getUnlabeledMessage()
Returns exception message without Cayenne version label. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CayenneRuntimeException()
public CayenneRuntimeException(String messageFormat, Object... messageArgs)
public CayenneRuntimeException(Throwable cause)
CayenneRuntimeException
that wraps
exception
thrown elsewhere.
public CayenneRuntimeException(String messageFormat, Throwable cause, Object... messageArgs)
Method Detail |
---|
public String getUnlabeledMessage()
public String getMessage()
getMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |