wt.services.applicationcontext
Class UnableToCreateServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bywt.util.WTRuntimeException
                  extended bywt.services.applicationcontext.ApplicationContextException
                      extended bywt.services.applicationcontext.UnableToCreateServiceException
All Implemented Interfaces:
LocalizableMessage, Message, Serializable

public class UnableToCreateServiceException
extends ApplicationContextException
implements Serializable

Exception used to indicate that a service was found but the provider was unable to construct it.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private  String serviceImplementationName
           
 
Fields inherited from class wt.services.applicationcontext.ApplicationContextException
 
Fields inherited from class wt.util.WTRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
protected UnableToCreateServiceException(ApplicationContextChild context_child, Object requestor, String service_name, String message)
           
  UnableToCreateServiceException(ApplicationContextChild contextChild, Object requestor, String serviceName, Throwable throwable, String serviceImplementationName, Object source)
          Construct an exception recording the primitive exception and the name of the service impelmentation.
 
Method Summary
 String getServiceImplementationName()
          Gets the value of the attribute: serviceImplementationName; The name of the service implementation which could not be created.
private  void serviceImplementationNameValidate(String a_ServiceImplementationName)
           
protected  void setServiceImplementationName(String a_ServiceImplementationName)
          Sets the value of the attribute: serviceImplementationName; The name of the service implementation which could not be created.
 
Methods inherited from class wt.services.applicationcontext.ApplicationContextException
getContextChild, getRequestor, getServiceName, getSource, setContextChild, setRequestor, setServiceName, setSource
 
Methods inherited from class wt.util.WTRuntimeException
getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getNestedThrowable, printStackTrace, printStackTrace, printStackTrace, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

serviceImplementationName

private String serviceImplementationName
Constructor Detail

UnableToCreateServiceException

public UnableToCreateServiceException(ApplicationContextChild contextChild,
                                      Object requestor,
                                      String serviceName,
                                      Throwable throwable,
                                      String serviceImplementationName,
                                      Object source)
Construct an exception recording the primitive exception and the name of the service impelmentation.

Supported API: false

Parameters:
contextChild -
requestor -
serviceName -
throwable -
serviceImplementationName -
source -

UnableToCreateServiceException

protected UnableToCreateServiceException(ApplicationContextChild context_child,
                                         Object requestor,
                                         String service_name,
                                         String message)
Method Detail

getServiceImplementationName

public String getServiceImplementationName()
Gets the value of the attribute: serviceImplementationName; The name of the service implementation which could not be created.

Supported API: false

Returns:
String

setServiceImplementationName

protected void setServiceImplementationName(String a_ServiceImplementationName)
                                     throws WTPropertyVetoException
Sets the value of the attribute: serviceImplementationName; The name of the service implementation which could not be created.

Supported API: false

Parameters:
a_ServiceImplementationName -
Throws:
WTPropertyVetoException

serviceImplementationNameValidate

private void serviceImplementationNameValidate(String a_ServiceImplementationName)
                                        throws WTPropertyVetoException
Parameters:
a_ServiceImplementationName -
Throws:
WTPropertyVetoException