wt.occurrence
Class OccurrenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by wt.util.WTException
              extended by wt.occurrence.OccurrenceException
All Implemented Interfaces:
Serializable, LocalizableMessage, Message

public class OccurrenceException
extends WTException
implements Serializable

The exception for the occurrence package.

Supported API: true

Extendable: false

See Also:
Serialized Form

Constructor Summary
OccurrenceException()
          Constructs a new exception.
OccurrenceException(Exception e)
          Constructs a new exception using an Exception.
OccurrenceException(Exception e, String s)
          Constructs a new exception from a nested exception and a string.
OccurrenceException(Exception e, String rb, String key, Object[] params)
          Constructs a new exception with a nested exception from a resource bundle, it's key and an array of objects for insertion into the keyed resource bundles' message.
OccurrenceException(String s)
          Constructs a new exception using a String.
OccurrenceException(String rb, String key, Object[] params)
          Constructs a new exception from a resource bundle, it's key, and an array of objects for insertion into the keyed resource bundle's message.
 
Method Summary
 
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OccurrenceException

public OccurrenceException(String s)
Constructs a new exception using a String.

Supported API: true

Parameters:
s - a string used to create the LifeCycleException

OccurrenceException

public OccurrenceException(Exception e)
Constructs a new exception using an Exception.

Supported API: true

Parameters:
e - an exception used to create the LifeCycleException

OccurrenceException

public OccurrenceException()
Constructs a new exception.

Supported API: true


OccurrenceException

public OccurrenceException(String rb,
                           String key,
                           Object[] params)
Constructs a new exception from a resource bundle, it's key, and an array of objects for insertion into the keyed resource bundle's message.

Supported API: true

Parameters:
rb - name of the resource bundle used to create the LifeCycleException
key - name of the resource bundle's key used to create the LifeCycleException
params - array of objects for insertion into the keyed resource bundle's message

OccurrenceException

public OccurrenceException(Exception e,
                           String s)
Constructs a new exception from a nested exception and a string.

Supported API: true

Parameters:
e - a nested exception used to create the LifeCycleException
s - a string used to create the LifeCycleException

OccurrenceException

public OccurrenceException(Exception e,
                           String rb,
                           String key,
                           Object[] params)
Constructs a new exception with a nested exception from a resource bundle, it's key and an array of objects for insertion into the keyed resource bundles' message.

Supported API: true

Parameters:
e - an exception used to create the LifeCycleException
rb - name of the resource bundle used to create the LifeCycleException
key - name of the resource bundle's key used to create the LifeCycleException
params - array of objects for insertion into the keyed resource bundle's LifeCycleException