package webraveler.ravel; /** * A RavelerErrorException allows plugins to stop Raveling * and pass the content they received on to other plugins, * without disturbing the flow of information between the * client and server * * @author The Web Raveler Development Squad * @version 1.0 */ public class RavelerErrorException extends Exception { RavelerError err; public RavelerErrorException() {} public RavelerErrorException(String s) {super(s);} public RavelerErrorException(RavelerError err) { this.err = err; } public String getMessage(){ return super.getMessage(); } public RavelerError getError(){ return err; } }