| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.cayenne.CayenneException
public class CayenneException
A generic checked exception that may be thrown by Cayenne framework. All checked exceptions in Cayenne inherit from this class.
| Constructor Summary | |
|---|---|
| CayenneException()Creates new CayenneExceptionwithout detail message. | |
| CayenneException(String message)Constructs an CayenneExceptionwith the specified detail message. | |
| CayenneException(String message,
                 Throwable cause) | |
| CayenneException(Throwable cause)Constructs an CayenneExceptionthat wraps acausethrown elsewhere. | |
| Method Summary | |
|---|---|
| static String | getExceptionLabel() | 
|  String | getMessage() | 
|  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 CayenneException()
CayenneException without detail message.
public CayenneException(String message)
CayenneException with the specified detail message.
message - the detail message.public CayenneException(Throwable cause)
CayenneException that wraps a cause
 thrown elsewhere.
public CayenneException(String message,
                        Throwable cause)
| Method Detail | 
|---|
public static String getExceptionLabel()
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 | |||||||||