Novell exteNd
Director 5.2 API

com.sssw.fw.exception
Class EboApplicationException

java.lang.Object
 |
 +--java.lang.Throwable
       |
       +--java.lang.Exception
             |
             +--java.lang.RuntimeException
                   |
                   +--com.sssw.fw.exception.EboApplicationException
All Implemented Interfaces:
EbiParentedException, Serializable
Direct Known Subclasses:
EboIllegalOperationException, EboUnsupportedOperationException

public class EboApplicationException
extends RuntimeException
implements EbiParentedException

Indicates an error in the application. Typically, this signifies a programmer error such as an incorrect usage of an API method, illegal argument values, etc.

See Also:
Serialized Form

Constructor Summary
EboApplicationException(Throwable parent, com.sssw.fw.util.EboRsrcBundleMgr mgr, String bdlID, String msgID)
          EboApplicationException constructor.
EboApplicationException(Throwable parent, com.sssw.fw.util.EboRsrcBundleMgr rsrcMgr, String bdlid, String msgid, String[] args)
          EboException constructor
EboApplicationException(Throwable parent, com.sssw.fw.util.EboRsrcBundleMgr mgr, String bdlID, String msgID, String arg1, String arg2)
          EboApplicationException constructor.
EboApplicationException(Throwable parent, String message)
          EboApplicationException constructor.
 
Method Summary
 String getMessage()
          Gets the message.
 String getMessage(Locale locale)
          Gets the message.
 void printStackTrace()
          Print the stack trace
 void printStackTrace(Locale locale)
          Print the stack trace using the specified Locale
 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 using the specified locale
 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 using the specified locale
 
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

EboApplicationException

public EboApplicationException(Throwable parent,
                               com.sssw.fw.util.EboRsrcBundleMgr mgr,
                               String bdlID,
                               String msgID)
EboApplicationException constructor.
Parameters:
parent - the parent throwable, if any
mgr - the resource bundle manager
bdlID - the resource bundle ID
msgID - the message ID

EboApplicationException

public EboApplicationException(Throwable parent,
                               com.sssw.fw.util.EboRsrcBundleMgr mgr,
                               String bdlID,
                               String msgID,
                               String arg1,
                               String arg2)
EboApplicationException constructor.
Parameters:
parent - the parent throwable, if any
mgr - the resource bundle manager
bdlID - the resource bundle ID
msgID - the message ID
arg1 - the first argument to be substituted into the message
arg2 - the second argument to be substituted into the message

EboApplicationException

public EboApplicationException(Throwable parent,
                               com.sssw.fw.util.EboRsrcBundleMgr rsrcMgr,
                               String bdlid,
                               String msgid,
                               String[] args)
EboException constructor
Parameters:
parent - the parent throwable, if any
rsrcMgr - the resource bundle manager
bdlid - the resource bundle ID
msgid - the message ID
args - the arguments to be substituted into the message

EboApplicationException

public EboApplicationException(Throwable parent,
                               String message)
EboApplicationException constructor.
Parameters:
parent - the throwable parent, if any
message - the message
Method Detail

getMessage

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

getMessage

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

printStackTrace

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

printStackTrace

public void printStackTrace(Locale locale)
Print the stack trace using the specified Locale
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

printStackTrace

public void printStackTrace(PrintStream stream,
                            Locale locale)
Print the stack trace into the specified print stream using the specified locale
Parameters:
stream - the print stream
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 using the specified locale
Parameters:
writer - the print writer
locale - the locale

Novell exteNd
Director 5.2 API