public class StartException
extends java.lang.Exception
Constructor and Description |
---|
StartException()
Constructs a
StartException with no detail message. |
StartException(java.lang.String msg)
Constructs a
StartException with the specified detail message. |
StartException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
StartException with the specified detail message and cause. |
StartException(java.lang.String message,
java.lang.Throwable cause,
ServiceName serviceName) |
StartException(java.lang.Throwable cause)
Constructs a
StartException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
ServiceName |
getServiceName() |
void |
setServiceName(ServiceName serviceName) |
java.lang.String |
toString() |
public StartException()
StartException
with no detail message. The cause is not initialized, and may subsequently be
initialized by a call to initCause
.public StartException(java.lang.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(java.lang.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(java.lang.String msg, java.lang.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(java.lang.String message, java.lang.Throwable cause, ServiceName serviceName)
public ServiceName getServiceName()
public void setServiceName(ServiceName serviceName)
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2011 JBoss, a division of Red Hat, Inc.