Serializable
public class EncodeException extends Exception
Constructor | 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 | Description |
---|---|---|
Object |
getObject() |
Return the Object that could not be encoded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 © 2019 JBoss by Red Hat. All rights reserved.