public class BDSException
extends java.lang.RuntimeException
Constructor and Description |
---|
BDSException(ErrorCode errorCode)
Constructor.
|
BDSException(ErrorCode errorCode,
ErrorStack errorStack)
Constructor.
|
BDSException(ErrorCode errorCode,
ErrorStack errorStack,
java.lang.Object arg0)
Constructor.
|
BDSException(ErrorCode errorCode,
ErrorStack errorStack,
java.lang.Object[] args)
Constructor.
|
BDSException(ErrorCode errorCode,
ErrorStack errorStack,
java.lang.Object arg0,
java.lang.Object arg1)
Constructor.
|
BDSException(ErrorCode errorCode,
ErrorStack errorStack,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Object arg0)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Object[] args)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Object arg0,
java.lang.Object arg1)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
ErrorStack errorStack)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
ErrorStack errorStack,
java.lang.Object arg0)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
ErrorStack errorStack,
java.lang.Object arg0,
java.lang.Object arg1)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
java.lang.Object arg0)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
java.lang.Object[] args)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
java.lang.Object arg0,
java.lang.Object arg1)
Constructor.
|
BDSException(ErrorCode errorCode,
java.lang.Throwable cause,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
dumpBDSException(int logDetail,
java.lang.StringBuffer inputBuffer)
Dumps textual information concerning a
BDSExcpeption into the form of a StringBuffer . |
java.lang.StringBuffer |
dumpBDSException(java.lang.StringBuffer inputBuffer)
Dumps textual information concerning a
BDSExcpeption into the form of a StringBuffer . |
ErrorCode |
getErrorCode()
Returns the
ErrorCode constant associated with this
BDSException instance. |
ErrorStack |
getErrorStack()
Returns the
ErrorStack instance associated with this
BDSException instance. |
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns message string localized for the specified
Locale . |
static void |
setLogDetail(int logDetail)
Sets static log detail level for the
BDSException class. |
public BDSException(ErrorCode errorCode)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.public BDSException(ErrorCode errorCode, java.lang.Object arg0)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Object arg0, java.lang.Object arg1)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.arg2
- 3rd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Object[] args)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.args
- Arguments to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Throwable cause)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, java.lang.Object arg0)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.arg0
- 1st argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, java.lang.Object arg0, java.lang.Object arg1)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.arg2
- 3rd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, java.lang.Object[] args)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.args
- Arguments to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, ErrorStack errorStack)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.errorStack
- the ErrorStack
object to associated
with this BDSException
.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, ErrorStack errorStack)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.errorStack
- the ErrorStack
object to associated
with this BDSException
.public BDSException(ErrorCode errorCode, ErrorStack errorStack, java.lang.Object arg0)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.errorStack
- the ErrorStack
object to associated
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, ErrorStack errorStack, java.lang.Object arg0)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.errorStack
- the ErrorStack
object to associated
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, ErrorStack errorStack, java.lang.Object arg0, java.lang.Object arg1)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.errorStack
- the ErrorStack
object to associated
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, java.lang.Throwable cause, ErrorStack errorStack, java.lang.Object arg0, java.lang.Object arg1)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.cause
- the underlying Throwable
exception chain.errorStack
- the ErrorStack
object to associated
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, ErrorStack errorStack, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.errorStack
- the ErrorStack
object to associated
with this BDSException
.arg0
- 1st argument to be applied to the formatting of the error msg string.arg1
- 2nd argument to be applied to the formatting of the error msg string.arg2
- 3rd argument to be applied to the formatting of the error msg string.public BDSException(ErrorCode errorCode, ErrorStack errorStack, java.lang.Object[] args)
errorCode
- the ErrorCode
constant to associate
with this BDSException
.errorStack
- the ErrorStack
object to associated
with this BDSException
.args
- Arguments to be applied to the formatting of the error msg string.public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage(java.util.Locale locale)
Locale
.locale
- the Locale
in question.String
localized for given Locale
public ErrorCode getErrorCode()
ErrorCode
constant associated with this
BDSException
instance.public ErrorStack getErrorStack()
ErrorStack
instance associated with this
BDSException
instance.ErrorStack
stance. Can be null
.public static void setLogDetail(int logDetail)
BDSException
class.logDetail
- new log detial level (see ConfigItemType.EXCEPTION_LOGGING_DETAIL
).public java.lang.StringBuffer dumpBDSException(java.lang.StringBuffer inputBuffer)
BDSExcpeption
into the form of a StringBuffer
.
Uses current BDSException static logging level setting.inputBuffer
- an existing StringBuffer to append this BDSException
information. If null
a new StringBuffer
will be allocated.StringBuffer
containing textual information about this
BDSException
. The returned StringBuffer
is
the same instance passed in as the inputBuffer
parameter
or any automatically allocated instance.public java.lang.StringBuffer dumpBDSException(int logDetail, java.lang.StringBuffer inputBuffer)
BDSExcpeption
into the form of a StringBuffer
.logDetail
- int value indicating level of detail to include. See ConfigItemType.EXCEPTION_LOGGING_DETAIL
.inputBuffer
- an existing StringBuffer to append this BDSException
information. If null
a new StringBuffer
will be allocated.StringBuffer
containing textual information about this
BDSException
. The returned StringBuffer
is
the same instance passed in as the inputBuffer
parameter
or any automatically allocated instance.© Copyright IBM Corp. 2006, 2013. All Rights Reserved.