public class UnformattableObjectException extends UnsupportedOperationException
FormattableObject.toWKT()
when an object can not be formatted as WKT.
A formatting may fail because an object contains properties which can not be represented
by the standard WKT elements.
Formatter
if the object given to an
append(…)
method is an instance of an unsupported class.Formatter.setInvalidWKT(IdentifiedObject, Exception)
,
Serialized FormDefined in the sis-metadata
module
Constructor and Description |
---|
UnformattableObjectException()
Constructs a new exception with no message.
|
UnformattableObjectException(String message)
Constructs a new exception with the specified detail message.
|
UnformattableObjectException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
UnformattableObjectException(Throwable cause)
Constructs a new exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnformattableObjectException()
public UnformattableObjectException(String message)
message
- the detail message, or null
if none.public UnformattableObjectException(String message, Throwable cause)
message
- the detail message, or null
if none.cause
- the cause, or null
if none.public UnformattableObjectException(Throwable cause)
cause
- the cause, or null
if none.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.