|
JBoss Modular Service Kernel API 1.0.0.Beta6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jboss.msc.service.StartException
public class StartException
A start exception, thrown when a service fails to start.
Constructor Summary | |
---|---|
StartException()
Constructs a StartException with no detail message. |
|
StartException(Location location)
|
|
StartException(String msg)
Constructs a StartException with the specified detail message. |
|
StartException(String message,
Location location)
|
|
StartException(String msg,
Throwable cause)
Constructs a StartException with the specified detail message and cause. |
|
StartException(String message,
Throwable cause,
Location location)
|
|
StartException(String message,
Throwable cause,
Location location,
ServiceName serviceName)
|
|
StartException(Throwable cause)
Constructs a StartException with the specified cause. |
|
StartException(Throwable cause,
Location location)
|
Method Summary | |
---|---|
ServiceName |
getServiceName()
|
void |
setServiceName(ServiceName serviceName)
|
String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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(Location location)
public StartException(String message, Location location)
public StartException(String message, Throwable cause, Location location)
public StartException(Throwable cause, Location location)
public StartException(String message, Throwable cause, Location location, ServiceName serviceName)
Method Detail |
---|
public ServiceName getServiceName()
public void setServiceName(ServiceName serviceName)
public String toString()
toString
in class Throwable
|
JBoss Modular Service Kernel API 1.0.0.Beta6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |