org.apache.beehive.netui.util.type
Class TypeConversionException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by TypeConversionException
All Implemented Interfaces:
Serializable

public class TypeConversionException
extends RuntimeException

A TypeConversionException is thrown when an error has occurred performing a type conversion in the TypeUtils class.

See Also:
Serialized Form

Constructor Summary
TypeConversionException()
          Construct a TypeConversionException.
TypeConversionException(String message)
          Construct a TypeConversionException.
TypeConversionException(String message, Throwable cause)
          Construct a TypeConversionException.
TypeConversionException(Throwable cause)
          Construct a TypeConversionException.
 
Method Summary
 String getLocalizedMessage()
          Get a localized message describing the cause of this exception.
 void setLocalizedMessage(String localizedMessage)
          Set a localized message describing the cause of this exception.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeConversionException

public TypeConversionException()
Construct a TypeConversionException.


TypeConversionException

public TypeConversionException(String message)
Construct a TypeConversionException.

Parameters:
message - message describing the error

TypeConversionException

public TypeConversionException(Throwable cause)
Construct a TypeConversionException.

Parameters:
cause - Throwable related to the cause of this exception

TypeConversionException

public TypeConversionException(String message,
                               Throwable cause)
Construct a TypeConversionException.

Parameters:
message - message describing the error
cause - Throwable related to the cause of this exception
Method Detail

setLocalizedMessage

public void setLocalizedMessage(String localizedMessage)
Set a localized message describing the cause of this exception.

Parameters:
localizedMessage - a localized message

getLocalizedMessage

public String getLocalizedMessage()
Get a localized message describing the cause of this exception.

Overrides:
getLocalizedMessage in class Throwable
Returns:
a localized message string