Package org.atmosphere.cpr
Class AtmosphereInitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.atmosphere.cpr.AtmosphereInitializationException
- All Implemented Interfaces:
Serializable
Fails
AtmosphereFramework.init() instead of being logged and skipped.
The framework tolerates a failing annotation Processor:
it logs the error and starts without that class. A processor that finds the
application's configuration unusable (a setting naming something that does
not exist, say) throws this exception instead, so the framework's
initialization fails with it as the cause and the deployment does not start
half-configured.
It is an IllegalStateException, so code catching that type keeps
catching it.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAtmosphereInitializationException(String message) AtmosphereInitializationException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AtmosphereInitializationException
-
AtmosphereInitializationException
-