Class ReportableException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.boot.cli.command.init.ReportableException
- All Implemented Interfaces:
Serializable
public class ReportableException extends RuntimeException
Exception with a message that can be reported to the user.- Since:
- 1.2.0
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ReportableException(String message)
ReportableException(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 Detail
ReportableException
public ReportableException(String message)
ReportableException
public ReportableException(String message, Throwable cause)