public class ServiceRegistryException extends RuntimeException
Constructor and Description |
---|
ServiceRegistryException()
Constructs a
ServiceRegistryException with no detail message. |
ServiceRegistryException(String msg)
Constructs a
ServiceRegistryException with the specified detail message. |
ServiceRegistryException(String msg,
Throwable cause)
Constructs a
ServiceRegistryException with the specified detail message and cause. |
ServiceRegistryException(Throwable cause)
Constructs a
ServiceRegistryException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceRegistryException()
ServiceRegistryException
with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.public ServiceRegistryException(String msg)
ServiceRegistryException
with the specified detail message. The cause is not initialized, and
may subsequently be initialized by a call to initCause
.msg
- the detail messagepublic ServiceRegistryException(Throwable cause)
ServiceRegistryException
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 ServiceRegistryException(String msg, Throwable cause)
ServiceRegistryException
with the specified detail message and cause.msg
- the detail messagecause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)Copyright © 2017 JBoss by Red Hat. All rights reserved.