wt.occurrence
Class OccurrenceException

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

public class OccurrenceException
extends WTException
implements Serializable

The exception for the occurrence package.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
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.
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
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