org.perfectjpattern.jee.api.business.servicelocator
Class ServiceLocatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.perfectjpattern.jee.api.business.servicelocator.ServiceLocatorException
All Implemented Interfaces:
Serializable

public final class ServiceLocatorException
extends RuntimeException

Service Locator exception

Version:
$Revision: 1.0 $Date: Feb 6, 2009 9:49:45 PM $
Author:
Giovanni Azua
See Also:
Serialized Form
 

Constructor Summary
ServiceLocatorException()
          Constructs a new ServiceLocatorException with null as its detail message.
ServiceLocatorException(String aMessage)
          Constructs a new ServiceLocatorException with the specified detail message.
ServiceLocatorException(String aMessage, Throwable aCause)
          Constructs a new ServiceLocatorException with the specified detail message and cause.
ServiceLocatorException(Throwable aCause)
          Constructs a new ServiceLocatorException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of 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

ServiceLocatorException

public ServiceLocatorException()
Constructs a new ServiceLocatorException with null as its detail message.


ServiceLocatorException

public ServiceLocatorException(String aMessage,
                               Throwable aCause)
Constructs a new ServiceLocatorException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

Parameters:
aMessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
aCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ServiceLocatorException

public ServiceLocatorException(String aMessage)
Constructs a new ServiceLocatorException with the specified detail message.

Parameters:
aMessage - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

ServiceLocatorException

public ServiceLocatorException(Throwable aCause)
Constructs a new ServiceLocatorException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

Parameters:
aCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2007-2009. All Rights Reserved.