JSR-275 - Measurements and Units Specification

javax.measure.converter
Class ConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.measure.converter.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:
3.1, April 2, 2006
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.

JSR-275 - Measurements and Units Specification

Copyright © 2007 JSR-275