public class NSException extends LocalizedException
Constructor and Description |
---|
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.
|
getErrorDetails, getLocalizedMessage, getLocalizedMessage, getMessage, getMsgId, getMsgOnly, getMsgOnly, getWrappedException, setErrorDetails
public NSException()
public NSException(java.lang.String msg)
msg
- A String specifying the detailed error message for this
NSException.public NSException(java.lang.Throwable t)
t
- A Throwable object that contains error information.public NSException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.String parameter)
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
Exceptionpublic NSException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId)
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
Exceptionpublic NSException(java.lang.Class bundleClass, java.lang.String bundleKey, java.lang.String sourceId, java.lang.Object[] subs)
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
Exceptionsubs
- An Object array containing substitution values that correspond to
the exception.