Package org.biojava.utils
Class ParseErrorEvent
java.lang.Object
java.util.EventObject
org.biojava.utils.ParseErrorEvent
- All Implemented Interfaces:
Serializable
Event which signals a bad line when parsing a record.
- Author:
- Greg Cox
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionParseErrorEvent
(Object theSource) Construct a ParseErrorEvent with no other information.ParseErrorEvent
(Object theSource, String theMessage) Construct a ParseErrorEvent with a message. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
ParseErrorEvent
Construct a ParseErrorEvent with no other information.- Parameters:
theSource
- The source of the parse error
-
ParseErrorEvent
Construct a ParseErrorEvent with a message.- Parameters:
theSource
- The source of the parse error.theMessage
- The message.
-
-
Method Details
-
getMessage
Find the message about this event- Returns:
- The message.
-
toString
- Overrides:
toString
in classEventObject
-