com.sap.portal.admin.editor.exception

Class EditorFrameworkException

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

public abstract class EditorFrameworkException
extends Exception

A base exception class for the editor framework. Holds a nested exception that can be retrieved, and printed using the printStackTrace method.

See Also:
Serialized Form

Constructor Summary
EditorFrameworkException(String message)
          A constructor that sets the error string.
EditorFrameworkException(String message, Throwable nestedException)
          A constructor that wraps an existing exception in this exception and sets the error string.
 
Method Summary
 Throwable getNestedException()
          Gets an exception that wraps this exception.
 void printStackTrace()
          Prints a trace for an exception to a standard error stream.
 void printStackTrace(PrintStream ps)
          Prints a trace for an exception to a print stream.
 void printStackTrace(PrintWriter pw)
          Prints a trace for an exception to a print writer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditorFrameworkException

public EditorFrameworkException(String message)
A constructor that sets the error string.

Parameters:
message - an error message

EditorFrameworkException

public EditorFrameworkException(String message,
                                Throwable nestedException)
A constructor that wraps an existing exception in this exception and sets the error string.

Parameters:
message - an error message
nestedException - an existing exception
Method Detail

getNestedException

public Throwable getNestedException()
Gets an exception that wraps this exception.

Returns:
an existing exception

printStackTrace

public void printStackTrace()
Prints a trace for an exception to a standard error stream. Overrides the Throwable method.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Prints a trace for an exception to a print stream. Overrides the Throwable method.

Overrides:
printStackTrace in class Throwable
Parameters:
ps - a print stream

printStackTrace

public void printStackTrace(PrintWriter pw)
Prints a trace for an exception to a print writer. Overrides the Throwable method.

Overrides:
printStackTrace in class Throwable
Parameters:
pw - a print writer
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice