com.sap.portal.adminstudio.workunitfwapi.exceptions

Class WorkUnitFrameworkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.portal.adminstudio.exceptions.AdminStudioException
              extended by com.sap.portal.adminstudio.workunitfwapi.exceptions.WorkUnitFrameworkException
All Implemented Interfaces:
Serializable

public class WorkUnitFrameworkException
extends com.sap.portal.adminstudio.exceptions.AdminStudioException

See Also:
Serialized Form

Constructor Summary
WorkUnitFrameworkException(String message)
          A constructor that sets the error string.
WorkUnitFrameworkException(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

WorkUnitFrameworkException

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

Parameters:
message - an error message

WorkUnitFrameworkException

public WorkUnitFrameworkException(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.

Overrides:
getNestedException in class com.sap.portal.adminstudio.exceptions.AdminStudioException
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 com.sap.portal.adminstudio.exceptions.AdminStudioException

printStackTrace

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

Overrides:
printStackTrace in class com.sap.portal.adminstudio.exceptions.AdminStudioException
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 com.sap.portal.adminstudio.exceptions.AdminStudioException
Parameters:
pw - a print writer
Access Rights

This class can be accessed from:


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


Copyright 2015 SAP AG Complete Copyright Notice