|
|||||||||
| Home >> All >> org >> objectstyle >> [ cayenne overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne
Class CayenneRuntimeException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.objectstyle.cayenne.CayenneRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ConfigException, ConfigurationException
- public class CayenneRuntimeException
- extends java.lang.RuntimeException
A CayenneRuntimeException is a generic *runtime* exception that may be thrown by Cayenne framework. All runtime exceptions in Cayenne would normally inherit from this class. The class is compatible with JDK 1.3 and at the same time implements enhancements introduced in 1.4, namely chained exceptions.
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private java.lang.Throwable |
cause
|
| Fields inherited from class java.lang.RuntimeException |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
CayenneRuntimeException()
Creates new CayenneRuntimeException without detail message. |
|
CayenneRuntimeException(java.lang.String msg)
Constructs an CayenneRuntimeException with the specified detail message. |
|
CayenneRuntimeException(java.lang.String msg,
java.lang.Throwable th)
|
|
CayenneRuntimeException(java.lang.Throwable th)
Constructs an CayenneRuntimeException that
wraps exception thrown elsewhere. |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Returns the cause of this exception, or null if the cause is not known or non-existant. |
java.lang.String |
getMessage()
Get the message associated with this Throwable. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
| Field Detail |
cause
private java.lang.Throwable cause
| Constructor Detail |
CayenneRuntimeException
public CayenneRuntimeException()
- Creates new
CayenneRuntimeExceptionwithout detail message.
CayenneRuntimeException
public CayenneRuntimeException(java.lang.String msg)
- Constructs an
CayenneRuntimeExceptionwith the specified detail message.
CayenneRuntimeException
public CayenneRuntimeException(java.lang.Throwable th)
- Constructs an
CayenneRuntimeExceptionthat wrapsexceptionthrown elsewhere.
CayenneRuntimeException
public CayenneRuntimeException(java.lang.String msg, java.lang.Throwable th)
| Method Detail |
getCause
public java.lang.Throwable getCause()
- Description copied from class:
java.lang.Throwable - Returns the cause of this exception, or null if the cause is not known
or non-existant. This cause is initialized by the new constructors,
or by calling initCause.
getMessage
public java.lang.String getMessage()
- Description copied from class:
java.lang.Throwable - Get the message associated with this Throwable.
|
|||||||||
| Home >> All >> org >> objectstyle >> [ cayenne overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC