Class Overview
A general runtime exception raised in BSON processing.
Public Constructors
public
BSONException
(String msg)
public
BSONException
(int errorCode, String msg)
Parameters
errorCode
| The error code. |
msg
| The error message.
|
public
BSONException
(String msg, Throwable t)
Parameters
msg
| The error message. |
t
| The throwable cause.
|
public
BSONException
(int errorCode, String msg, Throwable t)
Parameters
errorCode
| The error code. |
msg
| The error message. |
t
| The throwable cause.
|
Public Methods
public
boolean
hasErrorCode
()
Returns true if the error code is set (i.e., not null).