|
|||||||||
| 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.synchronoss.cpo.CpoException
public class CpoException
A CpoException is the common superclass for any number of
CPO related exceptions that may occur during the execution of a
business task.
| Field Summary | |
|---|---|
java.lang.Throwable |
detail
Nested Exception to hold wrapped exception. |
| Constructor Summary | |
|---|---|
CpoException()
Constructs a CpoException with no specified
detail message. |
|
CpoException(java.lang.String s)
Constructs a CpoException with the specified
detail message. |
|
CpoException(java.lang.String s,
java.lang.Throwable ex)
Constructs a CpoException with the specified
detail message and nested exception. |
|
CpoException(java.lang.Throwable ex)
Constructs a CpoException with the specified
detail message and nested exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the detail message, including the message from the nested exception if there is one. |
void |
printStackTrace()
Prints the composite message to System.err. |
void |
printStackTrace(java.io.PrintStream ps)
Prints the composite message and the embedded stack trace to the specified stream ps. |
void |
printStackTrace(java.io.PrintWriter pw)
Prints the composite message and the embedded stack trace to the specified print writer pw. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Throwable detail
| Constructor Detail |
|---|
public CpoException()
CpoException with no specified
detail message.
public CpoException(java.lang.String s)
CpoException with the specified
detail message.
s - the detail message
public CpoException(java.lang.String s,
java.lang.Throwable ex)
CpoException with the specified
detail message and nested exception.
s - the detail messageex - the nested exceptionpublic CpoException(java.lang.Throwable ex)
CpoException with the specified
detail message and nested exception.
ex - the nested exception| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream ps)
ps.
printStackTrace in class java.lang.Throwableps - the print streampublic void printStackTrace()
System.err.
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter pw)
pw.
printStackTrace in class java.lang.Throwablepw - the print writer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||