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

com.futuresight.util.mystique.lever.ConvertorException Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) Balajee TM 2016.
 * All rights reserved.
 * License -  @see 
 */

/*
 * Created on 25 Aug, 2016 by balajeetm
 */
package com.futuresight.util.mystique.lever;

/**
 * The Class ConvertorException.
 *
 * @author balajeetm
 */
public class ConvertorException extends RuntimeException {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/**
	 * Instantiates a new convertor exception.
	 * 
	 * @param cause the cause
	 */
	public ConvertorException(Throwable cause) {
		super(String.format("Error during conversion : %s", cause.getMessage()));
		this.initCause(cause);
	}

	/**
	 * Instantiates a new convertor exception.
	 * 
	 * @param message the message
	 */
	public ConvertorException(String message) {
		super(String.format("Error during conversion : %s", message));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy