net.sf.marineapi.nmea.parser
Class DataNotAvailableException

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
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

Constructor Summary
DataNotAvailableException(String msg)
          Constructor
DataNotAvailableException(String msg, Throwable cause)
          Constructor
 
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

DataNotAvailableException

public DataNotAvailableException(String msg)
Constructor

Parameters:
msg - Exception message

DataNotAvailableException

public DataNotAvailableException(String msg,
                                 Throwable cause)
Constructor

Parameters:
msg - Exception message
cause - Throwable that caused the exception


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