Package org.apache.commons.daemon
Class DaemonInitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.daemon.DaemonInitException
-
- All Implemented Interfaces:
java.io.Serializable
public class DaemonInitException extends java.lang.Exception
Throw this during init if you can't initialise yourself for some expected reason. Using this exception will cause the exception's message to come out on stdout, rather than a dirty great stacktrace.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwable
cause
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description DaemonInitException(java.lang.String message)
DaemonInitException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessageWithCause()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
cause
private final java.lang.Throwable cause
-
-