public class DaemonInitException extends Exception
Constructor and Description |
---|
DaemonInitException(String message)
Constructs a new exception with the given message.
|
DaemonInitException(String message,
Throwable cause)
Constructs a new exception with the given detail and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessageWithCause()
Gets the message with the cause as a postfix.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DaemonInitException(String message)
message
- the detail message accessible with Throwable.getMessage()
.public DaemonInitException(String message, Throwable cause)
message
- the detail message accessible with Throwable.getMessage()
.cause
- the cause accessible with Throwable.getCause()
.public String getMessageWithCause()
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.