|
||||||||||
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 message)
Constructs an CayenneRuntimeException with the specified detail
message. |
|
CayenneRuntimeException(String message,
Throwable cause)
|
|
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 message)
CayenneRuntimeException
with the specified detail
message.
message
- the detail message.public CayenneRuntimeException(Throwable cause)
CayenneRuntimeException
that wraps
exception
thrown elsewhere.
public CayenneRuntimeException(String message, Throwable cause)
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 |