de.fhg.igd.gps
Class NMEA183SentenceFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byde.fhg.igd.gps.NMEA183SentenceFormatException
All Implemented Interfaces:
Serializable

public class NMEA183SentenceFormatException
extends IllegalArgumentException

Thrown to indicate that the application attempted to convert a String to one of the NMEA183Sentences, but that the String does not have the appropriate format.

Author:
Dennis Bartussek
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NMEA183SentenceFormatException()
          Constructs a new NMEA183SentenceFormatException with no detail message.
NMEA183SentenceFormatException(String message)
          Constructs a new NMEA183SentenceFormatException with the specified detail message.
NMEA183SentenceFormatException(String sentence, int index, String value)
          Constructs a new NMEA183SentenceFormatException with a detail message generated according to the specified arguments.
NMEA183SentenceFormatException(String sentence, String field, String value)
          Constructs a new NMEA183SentenceFormatException with a detail message generated according to the specified arguments.
 
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

NMEA183SentenceFormatException

public NMEA183SentenceFormatException()
Constructs a new NMEA183SentenceFormatException with no detail message.


NMEA183SentenceFormatException

public NMEA183SentenceFormatException(String message)
Constructs a new NMEA183SentenceFormatException with the specified detail message.

Parameters:
message - the detail message

NMEA183SentenceFormatException

public NMEA183SentenceFormatException(String sentence,
                                      String field,
                                      String value)
Constructs a new NMEA183SentenceFormatException with a detail message generated according to the specified arguments.

Parameters:
sentence - the sentence that raised this exception
field - the field that contains the value that could not be converted
value - the value that could not be converted

NMEA183SentenceFormatException

public NMEA183SentenceFormatException(String sentence,
                                      int index,
                                      String value)
Constructs a new NMEA183SentenceFormatException with a detail message generated according to the specified arguments.

Parameters:
sentence - the sentence that raised this exception
index - the index of the field that contains the value that could not be converted
value - the value that could not be converted


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.