public class EncodeException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
object |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
EncodeException(java.lang.Object object,
java.lang.String message)
Constructor with the object being encoded, and the reason why it failed to be.
|
EncodeException(java.lang.Object object,
java.lang.String message,
java.lang.Throwable cause)
Constructor with the object being encoded, and the reason why it failed to be, and the cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObject()
Return the Object that could not be encoded.
|
private final java.lang.Object object
private static final long serialVersionUID
public EncodeException(java.lang.Object object,
java.lang.String message)
object - the object that could not be encoded.message - the reason for the failure.public EncodeException(java.lang.Object object,
java.lang.String message,
java.lang.Throwable cause)
object - the object that could not be encoded.message - the reason for the failure.cause - the cause of the problem.