com.wm.app.b2b.server
Class AccessException

java.lang.Object
  extended by com.wm.app.b2b.server.ServerException
      extended by com.wm.app.b2b.server.AccessException

public class AccessException
extends com.wm.app.b2b.server.ServerException

Constructs access exceptions.


Constructor Summary
AccessException()
          Constructs an AccessException without a detailed error message.
AccessException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId)
          Constructs an AccessException using the specified parameters as input.
AccessException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.Object[] subs)
          Constructs an AccessException using the specified parameters as input.
AccessException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.String parameter)
          Constructs an AccessException using the specified parameters as input.
AccessException(java.lang.String msg)
          Constructs an AccessException with a specified message.
AccessException(java.lang.Throwable t)
          Constructs an AccessException using the specified Throwable object as input.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessException

public AccessException()
Constructs an AccessException without a detailed error message.


AccessException

public AccessException(java.lang.Throwable t)
Constructs an AccessException using the specified Throwable object as input.

Parameters:
t - A Throwable object that contains error information.

AccessException

public AccessException(java.lang.String msg)
Constructs an AccessException with a specified message.

Parameters:
msg - A String specifying the detailed error message for this AccessException.

AccessException

public AccessException(java.lang.Class bundleClass,
                       java.lang.String bundleKey,
                       java.lang.String sourceId,
                       java.lang.String parameter)
Constructs an AccessException using the specified parameters as input.

Parameters:
bundleClass - A Class representing the resource bundle class. For example, AccessExceptionBundle.class.
bundleKey - A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.
sourceId - A String specifying a sourceId for this AccessException.
parameter - A String specifying a substitution value.

AccessException

public AccessException(java.lang.Class bundleClass,
                       java.lang.String bundleKey,
                       java.lang.String sourceId)
Constructs an AccessException using the specified parameters as input.

Parameters:
bundleClass - A Class representing the resource bundle class. For example, AccessExceptionBundle.class.
bundleKey - A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.
sourceId - A String specifying a sourceId for this AccessException.

AccessException

public AccessException(java.lang.Class bundleClass,
                       java.lang.String bundleKey,
                       java.lang.String sourceId,
                       java.lang.Object[] subs)
Constructs an AccessException using the specified parameters as input.

Parameters:
bundleClass - A Class representing the resource bundle class. For example, AccessExceptionBundle.class.
bundleKey - A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.
sourceId - A String specifying a sourceId for this AccessException.
subs - An Object array containing substitution values that correspond to a the exception.