public class NotLiteralizableException extends GenerationException
Constructor and Description |
---|
NotLiteralizableException(Object nonLiteralizableObject)
Creates a new NotLiteralizableException that arose as a result of
requesting a LiteralValue of the given object.
|
Modifier and Type | Method and Description |
---|---|
Object |
getNonLiteralizableObject()
Returns the object that could not be literalized.
|
appendFailureInfo, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotLiteralizableException(Object nonLiteralizableObject)
nonLiteralizableObject
- the object that is not literalizable.public Object getNonLiteralizableObject()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.