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

com.codiform.moo.TranslationException Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.codiform.moo;

/**
 * Runtime exception that acts as the root exception for errors that might
 * take place while working with Moo.  There are a number of possible sources
 * for this error.  It is not currently expected that you'll try and recover
 * from these. 
 */
public class TranslationException extends RuntimeException {
	
	/**
	 * Create a translation exception with a message and an exception that caused the translation error.
	 * 
	 * @param message a message indicating what the error was
	 * @param cause the exception that caused this one
	 */
	public TranslationException( String message, Throwable cause ) {
		super( message, cause );
	}

	/**
	 * Create a translation exception with a message.
	 * 
	 * @param message a message indicating what the error was
	 */
	public TranslationException( String message ) {
		super( message );
	}

	private static final long serialVersionUID = 1L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy