public class UnformattableObjectException extends UnsupportedOperationException
Formattable.toWKT()when an object can't be formatted as WKT. A formatting may fails because an object is too complex for the WKT format capability (for example an engineering CRS with different unit for each axis), or because only some specific implementations can be formatted as WKT.
|Constructor and Description|
Constructs an exception with the specified detail message.
|Modifier and Type||Method and Description|
Returns the detail message.
Returns the type of the object that can't be formatted.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
message- The detail message. If
null, a default message will be created.
unformattable- The type of the object that can't be formatted.
public Class getUnformattableClass()
CoordinateReferenceSystem.class. It doesn't mean that no CRS can be formatted; only that a particular instance of it can't. Other possible classes are
Copyright © 1996–2019 Geotools. All rights reserved.