2
* $Id: ParserException.java 80 2007-09-01 20:25:45Z fordfrog $
4
package cz.startnet.utils.pgdiff.parsers;
7
* Thrown if parsing problem occured.
10
* @version $Id: ParserException.java 80 2007-09-01 20:25:45Z fordfrog $
12
public class ParserException extends RuntimeException {
14
* Predefined message string that can be used as default exception
15
* message with provided parsed line.
17
public static final String CANNOT_PARSE_COMMAND = "Cannot parse command: ";
20
* Creates a new instance of <code>ParserException</code> without
23
public ParserException() {
28
* Constructs an instance of <code>ParserException</code> with the
29
* specified detail message.
31
* @param msg the detail message
33
public ParserException(String msg) {
38
* Constructs an instance of <code>ParserException</code> with the
39
* specified detail message.
41
* @param msg the detail message
42
* @param cause cause of the exception
44
public ParserException(String msg, Throwable cause) {