Package com.luciad.util
Class TLcdNoBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.luciad.util.TLcdNoBoundsException
- All Implemented Interfaces:
Serializable
TLcdNoBoundsException
is an Exception
that
is thrown when it is impossible to compute valid bounds. This may happen
when the geometry is empty, or when the geometry has no valid coordinates
in the coordinate space that is considered, for instance.- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdNoBoundsException
(String aMessage) TLcdNoBoundsException
(String aMessage, Throwable aCause) -
Method Summary
Modifier and TypeMethodDescriptionstatic TLcdNoBoundsException
Utility method that returns a shared no bounds exception.static void
setStackTraceOn
(boolean aStackTraceOn) When set to true this ensures that the correct stack trace is built for the shared instance.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TLcdNoBoundsException
public TLcdNoBoundsException() -
TLcdNoBoundsException
-
TLcdNoBoundsException
-
-
Method Details
-
setStackTraceOn
public static void setStackTraceOn(boolean aStackTraceOn) When set to true this ensures that the correct stack trace is built for the shared instance. Use only for debugging, since this can lead to a severe performance penalty.- Parameters:
aStackTraceOn
- whether or not the correct stack trace should be constructed for the shared instance.- See Also: