/*
 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
 * Copyright (C) 2006 - JScience (http://jscience.org/)
 * All rights reserved.
 * 
 * Permission to use, copy, modify, and distribute this software is
 * freely granted, provided that this notice is preserved.
 */
package javax.measure.converter;

/**
 * Signals that a problem of some sort has occurred either when creating a
 * converter between two units or during the conversion itself.
 *
 * @author  Jean-Marie Dautelle
 * @version 3.1, April 2, 2006
 */
public class ConversionException extends RuntimeException {

    /**
     * Constructs a ConversionException with no detail message.
     */
    public ConversionException() {
        super();
    }

    /**
     * Constructs a ConversionException with the specified detail
     * message.
     *
     * @param  message the detail message.
     */
    public ConversionException(String message) {
        super(message);
    }

    private static final long serialVersionUID = 1L;
}
 

Ads help maintain this website.