Package org.jboss.msc.service
Class ServiceRegistryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.msc.service.ServiceRegistryException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CircularDependencyException,DuplicateServiceException,ServiceNotFoundException
public class ServiceRegistryException extends java.lang.RuntimeExceptionBase Exception class used for service registry issues.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ServiceRegistryException()Constructs aServiceRegistryExceptionwith no detail message.ServiceRegistryException(java.lang.String msg)Constructs aServiceRegistryExceptionwith the specified detail message.ServiceRegistryException(java.lang.String msg, java.lang.Throwable cause)Constructs aServiceRegistryExceptionwith the specified detail message and cause.ServiceRegistryException(java.lang.Throwable cause)Constructs aServiceRegistryExceptionwith the specified cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceRegistryException
public ServiceRegistryException()
Constructs aServiceRegistryExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.
-
ServiceRegistryException
public ServiceRegistryException(java.lang.String msg)
Constructs aServiceRegistryExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
msg- the detail message
-
ServiceRegistryException
public ServiceRegistryException(java.lang.Throwable cause)
Constructs aServiceRegistryExceptionwith the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
ServiceRegistryException
public ServiceRegistryException(java.lang.String msg, java.lang.Throwable cause)Constructs aServiceRegistryExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
-