public class EncodeException extends Exception
| Constructor and Description | 
|---|
| EncodeException(Object object,
               String message)Constructor with the object being encoded, and the reason why it failed to be. | 
| EncodeException(Object object,
               String message,
               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 | 
|---|---|
| Object | getObject()Return the Object that could not be encoded. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EncodeException(Object object, String message)
object - the object that could not be encoded.message - the reason for the failure.public EncodeException(Object object, String message, Throwable cause)
object - the object that could not be encoded.message - the reason for the failure.cause - the cause of the problem.public Object getObject()
Copyright © 2012–2019 Oracle Corporation. All rights reserved.