public class CayenneRuntimeException extends RuntimeException
| Constructor and Description | 
|---|
| 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  CayenneRuntimeExceptionthat wrapsexceptionthrown elsewhere. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getMessage()Returns message that includes Cayenne version label and the actual exception
 message. | 
| String | getUnlabeledMessage()Returns exception message without Cayenne version label. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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)
public String getUnlabeledMessage()
public String getMessage()
getMessage in class ThrowableCopyright © 2001–2023 Apache Cayenne. All rights reserved.