JBoss Modular Service Kernel API 1.0.0.Beta1

org.jboss.msc.service
Class ResolutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.msc.service.ServiceRegistryException
              extended by org.jboss.msc.service.ResolutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CircularDependencyException, MissingDependencyException

public class ResolutionException
extends ServiceRegistryException

Parent exception type used to indicate issue during resolution.

Author:
John Bailey
See Also:
Serialized Form

Constructor Summary
ResolutionException()
          Constructs a ResolutionException with no detail message.
ResolutionException(String msg)
          Constructs a ResolutionException with the specified detail message.
ResolutionException(String msg, Throwable cause)
          Constructs a ResolutionException with the specified detail message and cause.
ResolutionException(Throwable cause)
          Constructs a ResolutionException with the specified cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResolutionException

public ResolutionException()
Constructs a ResolutionException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.


ResolutionException

public ResolutionException(String msg)
Constructs a ResolutionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters:
msg - the detail message

ResolutionException

public ResolutionException(Throwable cause)
Constructs a ResolutionException 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).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

ResolutionException

public ResolutionException(String msg,
                           Throwable cause)
Constructs a ResolutionException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

JBoss Modular Service Kernel API 1.0.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.