public class LocalsNotAvailableException extends Exception
Constructor and Description |
---|
LocalsNotAvailableException(String message,
boolean isContext)
Creates a new LocalsNotAvailableException.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isContextError()
Determines if the error was due to being in a context in which there are
no locals.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LocalsNotAvailableException(String message, boolean isContext)
message
- the detail message.isContext
- true if the error is due to context, false
otherwise.