|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.as400.access.PersistenceException
public class PersistenceException extends Exception
Thrown when an error occurs accessing resources on the system.
| Constructor and Description |
|---|
PersistenceException()
Default constructor. |
PersistenceException(AS400Message[] messageList)
Constructs an exception based on a list of system messages. |
PersistenceException(AS400Message[] messageList,
String s)
Constructs an exception based on a list of system messages and detail string. |
PersistenceException(String s)
Constructs an exception with the given detail string. |
PersistenceException(Throwable t)
Constructs an exception with detail provided by the given throwable. |
| Modifier and Type | Method and Description |
|---|---|
AS400Message[] |
getMessageList()
Returns the list of associated system messages; null if not available. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceException()
public PersistenceException(AS400Message[] messageList)
messageList - com.ibm.as400.access.AS400Message[]
public PersistenceException(AS400Message[] messageList,
String s)
messageList - com.ibm.as400.access.AS400Message[]s - java.lang.Stringpublic PersistenceException(String s)
s - java.lang.Stringpublic PersistenceException(Throwable t)
t - java.lang.Throwable| Method Detail |
|---|
public AS400Message[] getMessageList()
public String toString()
toString in class Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||