public class CayenneException extends Exception
| Constructor and Description |
|---|
CayenneException()
Creates new
CayenneException without detail message. |
CayenneException(String messageFormat,
Object... messageArgs)
Constructs an
CayenneException with the specified detail message. |
CayenneException(String messageFormat,
Throwable cause,
Object... messageArgs) |
CayenneException(Throwable cause)
Constructs an
CayenneException that wraps a cause thrown
elsewhere. |
| Modifier and Type | Method and Description |
|---|---|
static String |
getExceptionLabel() |
String |
getMessage() |
String |
getUnlabeledMessage()
Returns exception message without Cayenne version label.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CayenneException()
CayenneException without detail message.public CayenneException(String messageFormat, Object... messageArgs)
CayenneException with the specified detail message.messageFormat - the detail message format string.public CayenneException(Throwable cause)
CayenneException that wraps a cause thrown
elsewhere.public static String getExceptionLabel()
public String getUnlabeledMessage()
public String getMessage()
getMessage in class ThrowableCopyright © 2001–2023 Apache Cayenne. All rights reserved.