package com.iverticalleap.util.xml;

/**
 *
 *@author     Kevin Ross
 */
public class TransformationException extends com.iverticalleap.util.exception.NestedException {
    
    /**
     *  Constructor.
     *
     *@param  failedClass       Reference to the class that caused an error.
     *@param  failedMethodName  Method name that caused an error.
     *@param  errorMessage      Custom error message.
     *@param  parentThrowable   Reference to the parent exception resulted from the
     *      failure.
     */
    public TransformationException(Object failedClass, String failedMethodName, String errorMessage, Throwable parentThrowable) {
        
        super(failedClass, failedMethodName, errorMessage, parentThrowable);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClass       Reference to the class that caused an error.
     *@param  failedMethodName  Method name that caused an error.
     *@param  errorMessage      Custom error message.
     */
    public TransformationException(Object failedClass, String failedMethodName, String errorMessage) {
        
        super(failedClass, failedMethodName, errorMessage, null);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClass       Reference to the class that caused an error.
     *@param  failedMethodName  Method name that caused an error.
     *@param  parentThrowable   Reference to the parent exception resulted from the
     *      failure.
     */
    public TransformationException(Object failedClass, String failedMethodName, Throwable parentThrowable) {
        
        super(failedClass, failedMethodName, parentThrowable);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClass       Reference to the class that caused an error.
     *@param  failedMethodName  Method name that caused an error.
     */
    public TransformationException(Object failedClass, String failedMethodName) {
        
        super(failedClass, failedMethodName);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClassName   Class name that caused an error..
     *@param  failedMethodName  Method name that caused an error.
     *@param  errorMessage      Custom error message.
     *@param  parentThrowable   Reference to the parent exception resulted from the
     *      failure.
     */
    public TransformationException(String failedClassName, String failedMethodName, String errorMessage, Throwable parentThrowable) {
        
        super(failedClassName, failedMethodName, errorMessage, parentThrowable);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClassName   Class name that caused an error..
     *@param  failedMethodName  Method name that caused an error.
     *@param  errorMessage      Custom error message.
     */
    public TransformationException(String failedClassName, String failedMethodName, String errorMessage) {
        
        super(failedClassName, failedMethodName, errorMessage, null);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClassName   Class name that caused an error..
     *@param  failedMethodName  Method name that caused an error.
     *@param  parentThrowable   Reference to the parent exception resulted from the
     *      failure.
     */
    public TransformationException(String failedClassName, String failedMethodName, Throwable parentThrowable) {
        
        super(failedClassName, failedMethodName, parentThrowable);
    }
    
    
    /**
     *  Constructor.
     *
     *@param  failedClassName   Class name that caused an error..
     *@param  failedMethodName  Method name that caused an error.
     */
    public TransformationException(String failedClassName, String failedMethodName) {
        
        super(failedClassName, failedMethodName);
    }
}
