net.sf.marineapi.nmea.parser
Class DataNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.marineapi.nmea.parser.DataNotAvailableException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ParseException
public class DataNotAvailableException
- extends RuntimeException
Thrown to indicate that requested data is not available. For example, when
invoking a getter for sentence data field that contains no value.
- 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 |
DataNotAvailableException
public DataNotAvailableException(String msg)
- Constructor
- Parameters:
msg
- Exception message
DataNotAvailableException
public DataNotAvailableException(String msg,
Throwable cause)
- Constructor
- Parameters:
msg
- Exception messagecause
- Throwable that caused the exception
Copyright (C) 2010-2011 Java Marine API author(s). All Rights Reserved.