com.sap.portal.adminstudio.workunitfwapi.exceptions

Class WorkUnitFrameworkException

java.lang.Object
  extended by AdminStudioException
      extended by com.sap.portal.adminstudio.workunitfwapi.exceptions.WorkUnitFrameworkException

public class WorkUnitFrameworkException
extends AdminStudioException


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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.

Returns:
an existing exception

printStackTrace

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


printStackTrace

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

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.

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 2011 SAP AG Complete Copyright Notice