Package wt.occurrence

Class 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:
  • Constructor Details

    • 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