org.jboss.errai.codegen.exception
Class NotLiteralizableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.errai.codegen.exception.GenerationException
org.jboss.errai.codegen.exception.NotLiteralizableException
- All Implemented Interfaces:
- Serializable
public class NotLiteralizableException
- extends GenerationException
Thrown when a LiteralValue is requested for an object that cannot be
represented as a LiteralValue.
- Author:
- Jonathan Fuerth
- See Also:
- Serialized Form
Constructor Summary |
NotLiteralizableException(Object nonLiteralizableObject)
Creates a new NotLiteralizableException that arose as a result of
requesting a LiteralValue of the given object. |
NotLiteralizableException
public NotLiteralizableException(Object nonLiteralizableObject)
- Creates a new NotLiteralizableException that arose as a result of
requesting a LiteralValue of the given object.
- Parameters:
nonLiteralizableObject
- the object that is not literalizable.
getNonLiteralizableObject
public Object getNonLiteralizableObject()
- Returns the object that could not be literalized.
- Returns:
- The object that could not be literalized.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.