|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sapportals.portal.prt.runtime.PortalException
The Portal Exception is the base class for all the exceptions raised by PRT.
| Constructor Summary | |
PortalException(java.lang.String s)
Constructor with a String message. |
|
PortalException(java.lang.String s,
java.lang.Throwable cause)
Constructor with a message and a Throwable as the cause. |
|
PortalException(java.lang.Throwable cause)
Constructor with a Throwable as the cause. |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Gets the cause if any |
void |
printStackTrace()
Prints the stack trace of this exception and any chained exception to System.err |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace of this exception and any chained exception to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace of this exception and any chained exception to the specified print writer. |
void |
setCause(java.lang.Throwable t)
Sets the cause |
java.lang.String |
toHTML()
Returns the message and the stack of the exception. |
java.lang.String |
toText()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PortalException(java.lang.String s)
s - a short description of the exception.public PortalException(java.lang.Throwable cause)
public PortalException(java.lang.String s,
java.lang.Throwable cause)
| Method Detail |
public java.lang.Throwable getCause()
public void setCause(java.lang.Throwable t)
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - PrintWriter to use for outputpublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - PrintWriter to use for outputpublic java.lang.String toHTML()
public java.lang.String toText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||