|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.omg.CORBA.SystemException
org.openorb.pss.connector.PersistenceException
public class PersistenceException
This exception indicates a persistent storage failure, for example, failure to establish a database connection or corruption of a database. The exception has been defined as a general replacement for the org.omg.CORBA.PERSIST_STORE final class due to (a) the necessity to include causal exceptions for the purpose of effective service leval and application level debugging, and (b) questionable validity of the PSS specification reference to to the PERSIST_STORE exception in that it is an exception used to signal storage sytem related failures to a remote client in a a context where PSS is exclusively a local implementation concern.
Field Summary |
---|
Fields inherited from class org.omg.CORBA.SystemException |
---|
completed, minor |
Constructor Summary | |
---|---|
PersistenceException()
Default constructor. |
|
PersistenceException(int minor,
org.omg.CORBA.CompletionStatus completed)
Constructor with field initialization and causal exception. |
|
PersistenceException(int minor,
org.omg.CORBA.CompletionStatus completed,
java.lang.Throwable cause)
Constructor with field initialization and causal exception. |
|
PersistenceException(java.lang.String orb_reason)
Constructor with a string reason. |
|
PersistenceException(java.lang.String orb_reason,
int minor,
org.omg.CORBA.CompletionStatus completed)
Full constructor with fields initialization and causal exception. |
|
PersistenceException(java.lang.String orb_reason,
int minor,
org.omg.CORBA.CompletionStatus completed,
java.lang.Throwable cause)
Full constructor with fields initialization and causal exception. |
|
PersistenceException(java.lang.String orb_reason,
java.lang.Throwable cause)
Constructor with fields initialization and causal exception. |
|
PersistenceException(java.lang.Throwable cause)
Causal constructor. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Local method that returns the cause of the exception. |
Methods inherited from class org.omg.CORBA.SystemException |
---|
toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PersistenceException()
public PersistenceException(java.lang.Throwable cause)
cause
- the exception causing this exception to be raisedpublic PersistenceException(java.lang.String orb_reason)
orb_reason
- the exception descriptionpublic PersistenceException(java.lang.String orb_reason, java.lang.Throwable cause)
orb_reason
- the exception descriptioncause
- the exception causing this exception to be raisedpublic PersistenceException(int minor, org.omg.CORBA.CompletionStatus completed)
minor
- exception minor code (refer OMG PSS spec. 99-07-07, Chapter 8 Minor Codes, p 67)completed
- completed exception memberpublic PersistenceException(int minor, org.omg.CORBA.CompletionStatus completed, java.lang.Throwable cause)
minor
- exception minor code (refer OMG PSS spec. 99-07-07, Chapter 8 Minor Codes, p 67)completed
- completed exception membercause
- the exception causing this exception to be raisedpublic PersistenceException(java.lang.String orb_reason, int minor, org.omg.CORBA.CompletionStatus completed)
orb_reason
- exception descriptionminor
- exception minor code (refer OMG PSS spec. 99-07-07, Chapter 8 Minor Codes, p 67)completed
- completed exception memberpublic PersistenceException(java.lang.String orb_reason, int minor, org.omg.CORBA.CompletionStatus completed, java.lang.Throwable cause)
orb_reason
- exception descriptionminor
- exception minor code (refer OMG PSS spec. 99-07-07, Chapter 8 Minor Codes, p 67)completed
- completed exception membercause
- the exception causing this exception to be raisedMethod Detail |
---|
public java.lang.Throwable getCause()
getCause
in interface org.apache.avalon.framework.CascadingThrowable
getCause
in class java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |