com.sapportals.portal.prt.dispatcher

Class DispatcherException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.portal.prt.dispatcher.DispatcherException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PortalCoreInitializerException

public class DispatcherException
extends Exception

Copyright (c) SAP Portals Europe GmbH 2001

See Also:
Serialized Form

Constructor Summary
DispatcherException(String s)
           
DispatcherException(Throwable orig, String s)
           
 
Method Summary
 Throwable getCause()
          Returns the cause of this exception.
 void printStackTrace()
          Prints the stack trace of this exception and any chained exception to System.err
 void printStackTrace(PrintStream s)
          Prints the stack trace of this exception and any chained exception to the specified print stream.
 void printStackTrace(PrintWriter s)
          Prints the stack trace of this exception and any chained exception to the specified print writer.
 void setCause(Throwable cause)
          Set the cause of this exception.
 String toHTML()
          Returns the message and the stack of the exception.
 String toText()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

DispatcherException

public DispatcherException(Throwable orig,
                           String s)

DispatcherException

public DispatcherException(String s)
Method Detail

printStackTrace

public void printStackTrace()
Prints the stack trace of this exception and any chained exception to System.err

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Prints the stack trace of this exception and any chained exception to the specified print writer.

Overrides:
printStackTrace in class Throwable
Parameters:
s - PrintWriter to use for output

printStackTrace

public void printStackTrace(PrintStream s)
Prints the stack trace of this exception and any chained exception to the specified print stream.

Overrides:
printStackTrace in class Throwable
Parameters:
s - PrintWriter to use for output

setCause

public void setCause(Throwable cause)
Set the cause of this exception.

Parameters:
cause - The cause of this exception.

getCause

public Throwable getCause()
Returns the cause of this exception.

Overrides:
getCause in class Throwable

toHTML

public String toHTML()
Returns the message and the stack of the exception. The string is intended to be used in an HTML rendering.


toText

public String toText()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice