Back to index

wims  3.65+svn20090927
ParserException.java
Go to the documentation of this file.
00001 package SharpTools;
00002 /*
00003  * @(#)ParserException.java
00004  * 
00005  * $Id: ParserException.java,v 1.6 2000/11/18 07:12:17 huaz Exp $
00006  * 
00007  * Created on October 28, 2000, 6:26 PM
00008  */
00009 
00017 public class ParserException extends Exception {
00018     private boolean quiet;
00019     private String msg;
00020 
00024     public ParserException() { quiet = true; };
00025 
00029     public ParserException(String msg) { super(msg); this.msg = msg; };
00030 
00034     public ParserException(Object msg) {
00035        super(msg.toString());
00036        this.msg = msg.toString();
00037     };
00038 
00044     public boolean isQuiet() { return quiet; }
00045 
00051     public String toString() { return msg; }
00052 }
00053 
00054 
00055 
00056 
00057 
00058 
00059 
00060 
00061 
00062