home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Sample.bin
/
ParseLogException.java
< prev
next >
Wrap
Text File
|
1998-11-05
|
954b
|
29 lines
// Copyright (c) 1997, 1998 Symantec, Inc. All Rights Reserved.
/*
This exception indicates a problem was encountered while parsing the log file.
It has both the standard exception constructor with a single message parameter
and a constructor that is used when the occurance of another exception indicates
a parsing error. In that case the original exception is wrapped by this one so
it is available if needed.
*/
public class ParseLogException extends Exception {
// The causing exception, if any
public Throwable x;
// Constructs a ParseLogException with the given message.
public ParseLogException(String msg) {
super(msg);
//{{INIT_CONTROLS
//}}
}
// Constructs a ParseLogException with the given message that wraps a
// causing exception
public ParseLogException(String msg, Throwable x) {
super(msg);
this.x = x;
}
//{{DECLARE_CONTROLS
//}}
}