Package org.ka2ddo.yaac.osm
Class DiscardOSMElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ka2ddo.yaac.osm.DiscardOSMElementException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionConstructs a new exception withnull
as its detail message.DiscardOSMElementException
(String message) Constructs a new exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DiscardOSMElementException
public DiscardOSMElementException()Constructs a new exception withnull
as its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
. -
DiscardOSMElementException
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.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 theThrowable.getMessage()
method.
-