Class DiscardOSMElementException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ka2ddo.yaac.osm.DiscardOSMElementException
All Implemented Interfaces:
Serializable

public class DiscardOSMElementException extends Exception
This exception is thrown if the YAAC OSM importer decides that, due to a specific piece of information, this OSM element should not be stored in the tile files. Used in contexts where an illegal value cannot be returned, or when the knowledge is related to a specific key enumeration value.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • DiscardOSMElementException

      public DiscardOSMElementException()
      Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
    • DiscardOSMElementException

      public DiscardOSMElementException(String message)
      Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable). For this exception, the detail should be the value that caused the exception to be thrown.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.