CayenneRuntimeException
instead@Deprecated public class CayenneException extends Exception
Constructor and Description |
---|
CayenneException()
Deprecated.
Creates new
CayenneException without detail message. |
CayenneException(String messageFormat,
Object... messageArgs)
Deprecated.
Constructs an
CayenneException with the specified detail message. |
CayenneException(String messageFormat,
Throwable cause,
Object... messageArgs)
Deprecated.
|
CayenneException(Throwable cause)
Deprecated.
Constructs an
CayenneException that wraps a cause thrown
elsewhere. |
Modifier and Type | Method and Description |
---|---|
static String |
getExceptionLabel()
Deprecated.
since 4.1 use
CayenneRuntimeException.getExceptionLabel() |
String |
getMessage()
Deprecated.
|
String |
getUnlabeledMessage()
Deprecated.
Returns exception message without Cayenne version label.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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.@Deprecated public static String getExceptionLabel()
CayenneRuntimeException.getExceptionLabel()
public String getUnlabeledMessage()
public String getMessage()
getMessage
in class Throwable
Copyright © 2001–2019 Apache Cayenne. All rights reserved.