Java Units API
Build 2004-02-06

javax.units
Class ConversionException

Object
  extended byThrowable
      extended byException
          extended byRuntimeException
              extended byConversionException
All Implemented Interfaces:
Serializable

public class ConversionException
extends RuntimeException

Signals that a problem of some sort has occurred either when creating a converter between two units or during the conversion itself.

See Also:
Serialized Form

Constructor Summary
ConversionException()
          Constructs a ConversionException with no detail message.
ConversionException(String message)
          Constructs a ConversionException with the specified detail message.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ConversionException

public ConversionException()
Constructs a ConversionException with no detail message.


ConversionException

public ConversionException(String message)
Constructs a ConversionException with the specified detail message.

Parameters:
message - the detail message.

Java Units API
Build 2004-02-06

Symbols, terms and definitions
JSR-108 project