Package com.appiancorp.exceptions
Class ToggledOffException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException
com.appiancorp.exceptions.ToggledOffException
- All Implemented Interfaces:
Serializable
This is a marker exception that is intended to be thrown from code that requires a feature toggle to be
on. Locations upstream of this should be able to gracefully handle this, i.e. this could be thrown from a
JAX-RS Resource (REST Service) and AppianExceptionMapper will turn it into 403 - Forbidden since
ErrorCode.FEATURE_TOGGLED_OFF
is mapped to the 403 status code.- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException
equals, getCause, getErrorCode, getErrorCodeArguments, getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedTitle, getMessage, getStackTrace, hashCode, initCause, isDelegateInstanceOf, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toAppianException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getSuppressed
-
Constructor Details
-
ToggledOffException
public ToggledOffException()
-