wt.services.applicationcontext
Class ApplicationContextException

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

public class ApplicationContextException
extends WTRuntimeException
implements Serializable

Base class for all exceptions originated in the applicationcontext package.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  ApplicationContextChild contextChild
           
private  Object requestor
           
private static String RESOURCE
           
private  String serviceName
           
private  Object source
           
 
Fields inherited from class wt.util.WTRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ApplicationContextException(ApplicationContextChild contextChild, Object requestor, String serviceName, Throwable throwable, String s, Object source)
          Exception constructor.
 
Method Summary
 ApplicationContextChild getContextChild()
          Gets the value of the attribute: contextChild.
 Object getRequestor()
          Gets the value of the attribute: requestor.
 String getServiceName()
          Gets the value of the attribute: serviceName.
 Object getSource()
          Gets the value of the attribute: source; The source of the exception.
private  void serviceNameValidate(String a_ServiceName)
           
protected  void setContextChild(ApplicationContextChild a_ContextChild)
          Sets the value of the attribute: contextChild.
protected  void setRequestor(Object a_Requestor)
          Sets the value of the attribute: requestor.
protected  void setServiceName(String a_ServiceName)
          Sets the value of the attribute: serviceName.
protected  void setSource(Object a_Source)
          Sets the value of the attribute: source; The source of the exception.
 
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

source

private Object source

contextChild

private ApplicationContextChild contextChild

requestor

private Object requestor

serviceName

private String serviceName
Constructor Detail

ApplicationContextException

public ApplicationContextException(ApplicationContextChild contextChild,
                                   Object requestor,
                                   String serviceName,
                                   Throwable throwable,
                                   String s,
                                   Object source)
Exception constructor. Only action is to call corresponding WTRuntimeException.

Supported API: false

Parameters:
contextChild - The primitive exception being wrapped. May be null.
requestor - A text message. May be null.
serviceName - The source of the exception. May be null.
throwable -
s -
source -
Method Detail

getSource

public Object getSource()
Gets the value of the attribute: source; The source of the exception.

Supported API: false

Returns:
Object

setSource

protected void setSource(Object a_Source)
                  throws WTPropertyVetoException
Sets the value of the attribute: source; The source of the exception.

Supported API: false

Parameters:
a_Source -
Throws:
WTPropertyVetoException

getContextChild

public ApplicationContextChild getContextChild()
Gets the value of the attribute: contextChild.

Supported API: false

Returns:
ApplicationContextChild

setContextChild

protected void setContextChild(ApplicationContextChild a_ContextChild)
                        throws WTPropertyVetoException
Sets the value of the attribute: contextChild.

Supported API: false

Parameters:
a_ContextChild -
Throws:
WTPropertyVetoException

getRequestor

public Object getRequestor()
Gets the value of the attribute: requestor.

Supported API: false

Returns:
Object

setRequestor

protected void setRequestor(Object a_Requestor)
                     throws WTPropertyVetoException
Sets the value of the attribute: requestor.

Supported API: false

Parameters:
a_Requestor -
Throws:
WTPropertyVetoException

getServiceName

public String getServiceName()
Gets the value of the attribute: serviceName.

Supported API: false

Returns:
String

setServiceName

protected void setServiceName(String a_ServiceName)
                       throws WTPropertyVetoException
Sets the value of the attribute: serviceName.

Supported API: false

Parameters:
a_ServiceName -
Throws:
WTPropertyVetoException

serviceNameValidate

private void serviceNameValidate(String a_ServiceName)
                          throws WTPropertyVetoException
Parameters:
a_ServiceName -
Throws:
WTPropertyVetoException