public class EncodeException
extends java.lang.Exception
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.
|
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.