Novell exteNd
Director 5.2 API

com.sssw.fw.exception
Class EboException

java.lang.Object
 |
 +--java.lang.Throwable
       |
       +--java.lang.Exception
             |
             +--com.sssw.fw.exception.EboException
All Implemented Interfaces:
EbiParentedException, Serializable
Direct Known Subclasses:
EboActionException, EboAggregationException, EboApiException, EboAuditLoggerException, EboConditionException, EboFactoryException, EboResourceException

public class EboException
extends Exception
implements EbiParentedException, Serializable

This class is the base exception class for exteNd Director Framework.

See Also:
Serialized Form

Constructor Summary
EboException()
           
 
Method Summary
 void copyTo(EboException translatedX)
          This method is used in exception translation, to initialize a new "translated" exception with the same resource manager and message as the original.
 String getHTML()
          Get the HTML describing the error
 String getMessage()
          Gets the error message.
 String getMessage(Locale locale)
          Gets the error message.
 void printStackTrace()
          Print the stack trace
 void printStackTrace(Locale locale)
          Print the stack trace.
 void printStackTrace(PrintStream stream)
          Print the stack trace into the specified print stream.
 void printStackTrace(PrintStream stream, Locale locale)
          Print the stack trace into the specified print stream.
 void printStackTrace(PrintWriter writer)
          Print the stack trace into the specified print writer
 void printStackTrace(PrintWriter writer, Locale locale)
          Print the stack trace into the specified print writer
 void setHTML(String html)
          Set the HTML describing the error into the exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EboException

public EboException()
Method Detail

copyTo

public void copyTo(EboException translatedX)
This method is used in exception translation, to initialize a new "translated" exception with the same resource manager and message as the original.

getMessage

public String getMessage()
Gets the error message.
Overrides:
getMessage in class Throwable
Returns:
the message String.

getMessage

public String getMessage(Locale locale)
Gets the error message.
Specified by:
getMessage in interface EbiParentedException
Parameters:
locale - a Locale object.
Returns:
a message String.

setHTML

public void setHTML(String html)
Set the HTML describing the error into the exception
Parameters:
html - the HTML

getHTML

public String getHTML()
Get the HTML describing the error
Returns:
the HTML

printStackTrace

public void printStackTrace()
Print the stack trace
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(Locale locale)
Print the stack trace.
Parameters:
locale - the locale

printStackTrace

public void printStackTrace(PrintStream stream)
Print the stack trace into the specified print stream.
Overrides:
printStackTrace in class Throwable
Parameters:
stream - the print stream to use

printStackTrace

public void printStackTrace(PrintStream stream,
                            Locale locale)
Print the stack trace into the specified print stream.
Parameters:
stream - the print stream to use
locale - the locale

printStackTrace

public void printStackTrace(PrintWriter writer)
Print the stack trace into the specified print writer
Overrides:
printStackTrace in class Throwable
Parameters:
writer - the print writer

printStackTrace

public void printStackTrace(PrintWriter writer,
                            Locale locale)
Print the stack trace into the specified print writer
Parameters:
writer - the print writer
locale - the locale

Novell exteNd
Director 5.2 API