net.sf.marineapi.nmea.parser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.marineapi.nmea.parser.DataNotAvailableException
net.sf.marineapi.nmea.parser.ParseException
- All Implemented Interfaces:
- Serializable
public class ParseException
- extends DataNotAvailableException
Thrown to indicate that parser is unable interpret the contents of requested
data field. For example, when a field contains invalid value that cannot be
parsed to expected native data type.
- Version:
- $Revision: 16 $
- Author:
- Kimmo Tuukkanen
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParseException
public ParseException(String msg)
- Constructor with description.
- Parameters:
msg
- Description of the Exception
ParseException
public ParseException(String msg,
Throwable cause)
- Constructor with message and cause.
- Parameters:
msg
- Description of the Exceptioncause
- Throwable that caused this exception
Copyright (C) 2010-2011 Java Marine API author(s). All Rights Reserved.