JScience v2.0

org.jscience.physics.units
Class ConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jscience.physics.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:
1.0, October 24, 2004
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.
 
Method Summary
 
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.

JScience v2.0

Copyright © 2005 JScience.