com.sap.portal.admin.editor.exception
Class EditorFrameworkException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sap.portal.admin.editor.exception.EditorFrameworkException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EditorDataException, EditorLockingException, EditorResourceException

public abstract class EditorFrameworkException
extends java.lang.Exception

Basic exception for the editor framework. Holds a nested exception that can be retrieved, and also be printed using the printStackTrace method.

See Also:
Serialized Form

Constructor Summary
EditorFrameworkException(java.lang.String message)
          Constructor
EditorFrameworkException(java.lang.String message, java.lang.Throwable nestedException)
          Constructor
 
Method Summary
 java.lang.Throwable getNestedException()
           
 void printStackTrace()
          Print trace of exception to standart error stream Override method of Throwable
 void printStackTrace(java.io.PrintStream ps)
          Print trace of exception to print stream Override method of Throwable
 void printStackTrace(java.io.PrintWriter pw)
          Print trace of exception to print writer Override method of Throwable
 
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

EditorFrameworkException

public EditorFrameworkException(java.lang.String message)
Constructor
Parameters:
message -  

EditorFrameworkException

public EditorFrameworkException(java.lang.String message,
                                java.lang.Throwable nestedException)
Constructor
Parameters:
message -  
nestedException - an exception that needed to be wrapped
Method Detail

getNestedException

public java.lang.Throwable getNestedException()
Returns:
Throwable A nested exception that is wrapped by this exception

printStackTrace

public void printStackTrace()
Print trace of exception to standart error stream Override method of Throwable
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Print trace of exception to print stream Override method of Throwable
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Print trace of exception to print writer Override method of Throwable
Overrides:
printStackTrace in class java.lang.Throwable