All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beanfabrics.model.ConversionException Maven / Gradle / Ivy

Go to download

Beanfabrics is a component framework for building Java desktop applications according to the Presentation Model Pattern with Swing.

There is a newer version: 1.5.0
Show newest version
/*
 * Beanfabrics Framework Copyright (C) by Michael Karneim, beanfabrics.org
 * Use is subject to license terms. See license.txt.
 */
package org.beanfabrics.model;

/**
 * The {@link ConversionException} is thrown to indicate that a
 * {@link PresentationModel} has attempted to convert a string value to another
 * type, but that the string does not have the appropriate format.
 * 
 * @author Michael Karneim
 */
@SuppressWarnings("serial")
public class ConversionException extends RuntimeException {
    /**
     * Constructs a {@link ConversionException}.
     */
    public ConversionException() {
    }

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

    /**
     * Constructs a {@link ConversionException} with the given cause.
     * 
     * @param cause
     */
    public ConversionException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructs a {@link ConversionException} with the given message and
     * cause.
     * 
     * @param message
     * @param cause
     */
    public ConversionException(String message, Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy