/*******************************************************************************
* Copyright (c) 2013 Rene Schneider, GEBIT Solutions GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package de.gebit.integrity.parameter.conversion;
/**
* Thrown if a certain requested conversion did fail for whatever reason.
*
*
* @author Rene Schneider - initial API and implementation
*
*/
public class ConversionFailedException extends ConversionException {
/**
* Serial Version.
*/
private static final long serialVersionUID = 2394358953404897646L;
/**
* Instantiates a new conversion failed exception.
*
* @param aSourceType
* the a source type
* @param aTargetType
* the a target type
* @param aMessage
* the a message
* @param aCause
* the a cause
*/
public ConversionFailedException(Class<?> aSourceType, Class<?> aTargetType, String aMessage, Throwable aCause) {
super(aSourceType, aTargetType, aMessage, aCause);
}
/**
* Instantiates a new conversion unsupported exception.
*
* @param aSourceType
* the a source type
* @param aTargetType
* the a target type
* @param aMessage
* the a message
*/
public ConversionFailedException(Class<?> aSourceType, Class<?> aTargetType, String aMessage) {
super(aSourceType, aTargetType, aMessage);
}
}