public class StartException extends Exception
Constructor and Description |
---|
StartException()
Constructs a
StartException with no detail message. |
StartException(String msg)
Constructs a
StartException with the specified detail message. |
StartException(String msg,
Throwable cause)
Constructs a
StartException with the specified detail message and cause. |
StartException(String message,
Throwable cause,
ServiceName serviceName) |
StartException(Throwable cause)
Constructs a
StartException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
ServiceName |
getServiceName() |
void |
setServiceName(ServiceName serviceName) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public StartException()
StartException
with no detail message. The cause is not initialized, and may subsequently be
initialized by a call to initCause
.public StartException(String msg)
StartException
with the specified detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.msg
- the detail messagepublic StartException(Throwable cause)
StartException
with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause
).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)public StartException(String msg, Throwable cause)
StartException
with the specified detail message and cause.msg
- the detail messagecause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)public StartException(String message, Throwable cause, ServiceName serviceName)
public ServiceName getServiceName()
public void setServiceName(ServiceName serviceName)
Copyright © 2017 JBoss by Red Hat. All rights reserved.