wt.units
Class UnitFormatException

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

public class UnitFormatException
extends WTException
implements Serializable



Supported API: false

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
UnitFormatException()
          Constructs an exception with no specified detailed message or embedded throwable object.
UnitFormatException(String s)
          Deprecated.  
UnitFormatException(String rb, String key, Object[] params)
           
UnitFormatException(Throwable t)
           
UnitFormatException(Throwable t, String s)
          Constructs an exception with an embedded Throwable object and non-localizable detailed message.
UnitFormatException(Throwable t, String rb, String key, Object[] params)
          Constructs an exception with an embedded Throwable object and a localizable detailed 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

UnitFormatException

public UnitFormatException()
Constructs an exception with no specified detailed message or embedded throwable object.


UnitFormatException

public UnitFormatException(String s)
Deprecated.  

Constructs an exception with a non-localizable detailed message.

Parameters:
s - the detailed message

UnitFormatException

public UnitFormatException(String rb,
                           String key,
                           Object[] params)

UnitFormatException

public UnitFormatException(Throwable t)

UnitFormatException

public UnitFormatException(Throwable t,
                           String s)
Constructs an exception with an embedded Throwable object and non-localizable detailed message.

Parameters:
t - the embedded Throwable. It may be null.
s - the detailed message. It may be null.

UnitFormatException

public UnitFormatException(Throwable t,
                           String rb,
                           String key,
                           Object[] params)
Constructs an exception with an embedded Throwable object and a localizable detailed message.

Parameters:
t - the embedded Throwable. It may be null.
rb - the name of the base resource bundle subclass containing the localizable message.
key - the key associated with the localizable message
params - an optional set of objects to be formatted into the localizable message text.
See Also:
ResourceBundle, MessageFormat