net.sf.marineapi.nmea.parser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.marineapi.nmea.parser.DataNotAvailableException
                  extended by 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

Constructor Summary
ParseException(String msg)
          Constructor with description.
ParseException(String msg, Throwable cause)
          Constructor with message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Exception
cause - Throwable that caused this exception


Copyright (C) 2010-2011 Java Marine API author(s). All Rights Reserved.