|
||||||||||
| 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.day.cq.contentbus.ContentBusException
public class ContentBusException
Main exception thrown by classes in this package. May either contain an error message or another exception wrapped inside this exception.
| Field Summary | |
|---|---|
protected Exception |
rootException
Root failure cause |
| Constructor Summary | |
|---|---|
ContentBusException(Exception e)
Class constructor that creates a ContentBusException given
a root exception |
|
ContentBusException(String s)
Class constructor that creates a ContentBusException given
a message describing the failure cause |
|
ContentBusException(String s,
Exception e)
Class constructor that creates a ContentBusException given
a message describing the failure cause and a root exception |
|
| Method Summary | |
|---|---|
String |
getMessage()
Returns the error message string of this exception. |
Exception |
getRootException()
Returns the root exception of this exception. |
void |
printStackTrace()
Prints this ContentBusException and its backtrace to the
standard error stream. |
void |
printStackTrace(PrintStream s)
Prints this ContentBusException and its backtrace to the
specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this ContentBusException and its backtrace to
the specified print writer. |
| 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 |
|---|
protected Exception rootException
| Constructor Detail |
|---|
public ContentBusException(String s)
ContentBusException given
a message describing the failure cause
s - description
public ContentBusException(String s,
Exception e)
ContentBusException given
a message describing the failure cause and a root exception
s - descriptione - root failure causepublic ContentBusException(Exception e)
ContentBusException given
a root exception
e - root failure cause| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic Exception getRootException()
public void printStackTrace()
ContentBusException and its backtrace to the
standard error stream.
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
ContentBusException and its backtrace to the
specified print stream.
printStackTrace in class Throwables - PrintStream to use for outputpublic void printStackTrace(PrintWriter s)
ContentBusException and its backtrace to
the specified print writer.
printStackTrace in class Throwables - PrintWriter to use for output
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||