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

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.sap.portal.admin.editor.exception.EditorFrameworkRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EditorConfigException, EditorRuntimeException, UnexpectedBehaviourException

public abstract class EditorFrameworkRuntimeException
extends java.lang.RuntimeException

Basic runtime 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
EditorFrameworkRuntimeException(java.lang.String message)
          Constructor
EditorFrameworkRuntimeException(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

EditorFrameworkRuntimeException

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

EditorFrameworkRuntimeException

public EditorFrameworkRuntimeException(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