JADE v6.1

javax.units
Class ConversionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.units.ConversionException
All Implemented Interfaces:
java.io.Serializable

public class ConversionException
extends java.lang.RuntimeException

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

Version:
4.0, February 29, 2003
Author:
Jean-Marie Dautelle
See Also:
Serialized Form

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

Parameters:
message - the detail message.

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.