Files
secondo/Algebras/Rose/RoseJava/RoseAlgebraError.java

29 lines
711 B
Java
Raw Permalink Normal View History

2026-01-23 17:03:45 +08:00
/*
* RoseAlgebraError.java 2006-01-03
*
* Dirk Ansorge, FernUniversitaet Hagen
*
*/
/**
* An exception of this type is thrown for any error that occurs during the execution of a ROSE algebra operation.
* Use the string to pass detailed information about the error.
*/
public class RoseAlgebraError extends RuntimeException {
/**
* This member stores the error message.
*/
public String errorMessage;
/**
* Constructs a new instance of RoseAlgebraError using the argument supplied.
*
* @param s the string with description about this exception.
*/
public RoseAlgebraError(String s) {
super(s);
this.errorMessage = s;
}
}//end class RoseAlgebraError