Package org.biojava.utils
Class ParseErrorEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.biojava.utils.ParseErrorEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ParseErrorEvent extends java.util.EventObject
Event which signals a bad line when parsing a record.- Author:
- Greg Cox
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseErrorEvent(java.lang.Object theSource)
Construct a ParseErrorEvent with no other information.ParseErrorEvent(java.lang.Object theSource, java.lang.String theMessage)
Construct a ParseErrorEvent with a message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Find the message about this eventjava.lang.String
toString()
-
-
-
Constructor Detail
-
ParseErrorEvent
public ParseErrorEvent(java.lang.Object theSource)
Construct a ParseErrorEvent with no other information.- Parameters:
theSource
- The source of the parse error
-
ParseErrorEvent
public ParseErrorEvent(java.lang.Object theSource, java.lang.String theMessage)
Construct a ParseErrorEvent with a message.- Parameters:
theSource
- The source of the parse error.theMessage
- The message.
-
-