Package io.micronaut.runtime.exceptions
Class ApplicationStartupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.runtime.exceptions.ApplicationStartupException
- All Implemented Interfaces:
Serializable
Thrown when the application fails to start.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationStartupException(String message) Create exception with detailed message and cause.ApplicationStartupException(String message, Throwable cause) Create exception with detailed message and 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
-
ApplicationStartupException
Create exception with detailed message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
ApplicationStartupException
Create exception with detailed message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).
-