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

org.stjs.generator.JavascriptClassGenerationException Maven / Gradle / Ivy

There is a newer version: 3.3.2.2
Show newest version
package org.stjs.generator;

/**
 * throw this exception when you have the name of the class for which you generate the exception
 * 
 * @author acraciun
 */
public class JavascriptClassGenerationException extends STJSRuntimeException {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private final String className;

	public JavascriptClassGenerationException(String className, String message, Throwable cause) {
		super(message, cause);
		this.className = className;
	}

	public JavascriptClassGenerationException(String className, String message) {
		super(message);
		this.className = className;
	}

	public JavascriptClassGenerationException(String className, Throwable cause) {
		super(cause);
		this.className = className;
	}

	public String getClassName() {
		return className;
	}

	@Override
	public String toString() {
		return "JavascriptClassGenerationException [className=" + className + ", toString()=" + super.toString() + "]";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy