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:
java.io.Serializable
public class ApplicationStartupException extends java.lang.RuntimeExceptionThrown when the application fails to start.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationStartupException(java.lang.String message)Create exception with detailed message and cause.ApplicationStartupException(java.lang.String message, java.lang.Throwable cause)Create exception with detailed message and cause.
-
-
-
Constructor Detail
-
ApplicationStartupException
public ApplicationStartupException(java.lang.String message, java.lang.Throwable cause)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
public ApplicationStartupException(java.lang.String message)
Create exception with detailed message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).
-
-