com.wm.lang.ns
Class NSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.wm.util.LocalizedException
              extended by com.wm.lang.ns.NSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ServiceException

public class NSException
extends LocalizedException

See Also:
Serialized Form

Constructor Summary
NSException()
           
NSException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId)
          Constructs a NSException using the specified parameters as input.
NSException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.Object[] subs)
          Constructs a NSException using the specified parameters as input.
NSException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.String parameter)
          Constructs a NSException using the specified parameters as input.
NSException(java.lang.String msg)
          Constructs an NSException with a specified message.
NSException(java.lang.Throwable t)
          Constructs an NSException using the specified Throwable object as input.
 
Method Summary
 
Methods inherited from class com.wm.util.LocalizedException
getErrorDetails, getLocalizedMessage, getLocalizedMessage, getMessage, getMsgId, getMsgOnly, getMsgOnly, getWrappedException, setErrorDetails
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

NSException

public NSException()

NSException

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

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

NSException

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

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

NSException

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

Parameters:
bundleClass - A Class containing the error code and error message.
bundleKey - A String specifying a bundleKey for this Service Exception.
sourceId - A String specifying a sourceId for this Service Exception

NSException

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

Parameters:
bundleClass - A Class containing the error code and error message.
bundleKey - A String specifying a bundleKey for this Service Exception.
sourceId - A String specifying a sourceId for this Service Exception

NSException

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

Parameters:
bundleClass - A Class containing the error code and error message.
bundleKey - A String specifying a bundleKey for this Service Exception.
sourceId - A String specifying a sourceId for this Service Exception
subs - An Object array containing substitution values that correspond to the exception.