com.filenet.rm.bds.exception
Class BDSException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.filenet.rm.bds.exception.BDSException
All implemented interfaces:
java.io.Serializable
- public class BDSException
- extends java.lang.RuntimeException
See Also:
Constructor Summary
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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
dumpBDSException(int logDetail,java.lang.StringBuffer inputBuffer)
Dumps textual information concerning a
BDSExcpeption into the form of a StringBuffer .
|
|
dumpBDSException(java.lang.StringBuffer inputBuffer)
Dumps textual information concerning a
BDSExcpeption into the form of a StringBuffer .
|
getErrorCode()
Returns the
ErrorCode constant associated with this
BDSException instance.
|
|
getErrorStack()
Returns the
ErrorStack instance associated with this
BDSException instance.
|
|
|
getLocalizedMessage()
|
|
getLocalizedMessage(java.util.Locale locale)
Returns message string localized for the specified
Locale .
|
|
setLogDetail(int logDetail)
Sets static log detail level for the
BDSException class.
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
BDSException
- public BDSException(ErrorCode errorCode)
Constructor.
Parameters:
BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Object arg0)
Constructor.
Parameters:
arg0
- 1st argument to be applied to the formatting of the error msg string. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Object arg0,
- java.lang.Object arg1)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Object arg0,
- java.lang.Object arg1,
- java.lang.Object arg2)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Object[] args)
Constructor.
Parameters:
args
- Arguments to be applied to the formatting of the error msg string. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause)
Constructor.
Parameters:
cause
- the underlying Throwable
exception chain. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- java.lang.Object arg0)
Constructor.
Parameters:
cause
- the underlying Throwable
exception chain. arg0
- 1st argument to be applied to the formatting of the error msg string. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- java.lang.Object arg0,
- java.lang.Object arg1)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- java.lang.Object arg0,
- java.lang.Object arg1,
- java.lang.Object arg2)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- java.lang.Object[] args)
Constructor.
Parameters:
cause
- the underlying Throwable
exception chain. args
- Arguments to be applied to the formatting of the error msg string. BDSException
- public BDSException(ErrorCode errorCode,
- ErrorStack errorStack)
Constructor.
Parameters:
BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- ErrorStack errorStack)
Constructor.
Parameters:
cause
- the underlying Throwable
exception chain. BDSException
- public BDSException(ErrorCode errorCode,
- ErrorStack errorStack,
- java.lang.Object arg0)
Constructor.
Parameters:
arg0
- 1st argument to be applied to the formatting of the error msg string. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- ErrorStack errorStack,
- java.lang.Object arg0)
Constructor.
Parameters:
cause
- the underlying Throwable
exception chain. arg0
- 1st argument to be applied to the formatting of the error msg string. BDSException
- public BDSException(ErrorCode errorCode,
- ErrorStack errorStack,
- java.lang.Object arg0,
- java.lang.Object arg1)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- java.lang.Throwable cause,
- ErrorStack errorStack,
- java.lang.Object arg0,
- java.lang.Object arg1)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- ErrorStack errorStack,
- java.lang.Object arg0,
- java.lang.Object arg1,
- java.lang.Object arg2)
Constructor.
Parameters:
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. BDSException
- public BDSException(ErrorCode errorCode,
- ErrorStack errorStack,
- java.lang.Object[] args)
Constructor.
Parameters:
args
- Arguments to be applied to the formatting of the error msg string. Method Detail
getLocalizedMessage
- public java.lang.String getLocalizedMessage( )
Overrides:
getLocalizedMessage
in class java.lang.Throwable
getLocalizedMessage
- public java.lang.String getLocalizedMessage( java.util.Locale locale)
Returns message string localized for the specified
Locale
.
Parameters:
locale
- the Locale
in question. Returns:
message
String
localized for given Locale
getErrorCode
- public ErrorCode getErrorCode()
Returns the
ErrorCode
constant associated with this
BDSException
instance.
Returns:
an ErrorCode constant.
getErrorStack
- public ErrorStack getErrorStack( )
Returns the
ErrorStack
instance associated with this
BDSException
instance.
Returns:
an
ErrorStack
stance. Can be null
. setLogDetail
- public static void setLogDetail( int logDetail)
Sets static log detail level for the
BDSException
class.
Parameters:
logDetail
- new log detial level (see ConfigItemType.EXCEPTION_LOGGING_DETAIL
). dumpBDSException
- public java.lang.StringBuffer dumpBDSException( java.lang.StringBuffer inputBuffer)
Dumps textual information concerning a
BDSExcpeption
into the form of a StringBuffer
.
Uses current BDSException static logging level setting.
Parameters:
inputBuffer
- an existing StringBuffer to append this BDSException
information. If null
a new StringBuffer
will be allocated. Returns:
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. dumpBDSException
- public java.lang.StringBuffer dumpBDSException( int logDetail,
- java.lang.StringBuffer inputBuffer)
Dumps textual information concerning a
BDSExcpeption
into the form of a StringBuffer
.
Parameters:
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. Returns:
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.