Package com.aparapi.internal.exception
Class ClassParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.aparapi.internal.exception.AparapiException
-
- com.aparapi.internal.exception.ClassParseException
-
- All Implemented Interfaces:
java.io.Serializable
public class ClassParseException extends AparapiException
We throwClassParseException
s (derived fromAparapiException
) if we encounter any Aparapi unfriendly constructs. This allows us to fail fast.- See Also:
AparapiException
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassParseException.TYPE
-
Field Summary
Fields Modifier and Type Field Description private Instruction
instruction
private ClassParseException.TYPE
type
-
Constructor Summary
Constructors Constructor Description ClassParseException(ClassParseException.TYPE _type)
ClassParseException(ClassParseException.TYPE _type, java.lang.String _methodName)
ClassParseException(Instruction _instruction, ClassParseException.TYPE _type)
ClassParseException(java.lang.Throwable _t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instruction
getInstruction()
ClassParseException.TYPE
getType()
-
-
-
Field Detail
-
instruction
private Instruction instruction
-
type
private ClassParseException.TYPE type
-
-
Constructor Detail
-
ClassParseException
public ClassParseException(ClassParseException.TYPE _type)
-
ClassParseException
public ClassParseException(Instruction _instruction, ClassParseException.TYPE _type)
-
ClassParseException
public ClassParseException(ClassParseException.TYPE _type, java.lang.String _methodName)
-
ClassParseException
public ClassParseException(java.lang.Throwable _t)
-
-
Method Detail
-
getInstruction
public Instruction getInstruction()
-
getType
public ClassParseException.TYPE getType()
-
-