Class PsyTypeCheckException
java.lang.Object
java.lang.Throwable
java.lang.Exception
coneforest.psylla.core.PsyErrorException
coneforest.psylla.core.PsyTypeCheckException
- All Implemented Interfaces:
PsyExecutable, PsyObject, Serializable
The representation of the
typecheck error thrown when the operand has the type that is
unexpected for the operator.- See Also:
-
Field Summary
Fields inherited from interface PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newexceptionobject with null as its detail message.PsyTypeCheckException(Throwable cause) Constructs a newexceptionobject with the specified cause. -
Method Summary
Methods inherited from class PsyErrorException
getEmitter, getName, invoke, setEmitter, setStacksMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from interface PsyExecutable
asBinaryOperator, asComparator, asConsumer, asFunction, asPredicate, asSupplier, asUnaryOperator, invokeAndHandleMethods inherited from interface PsyObject
convert, execute, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeName
-
Constructor Details
-
PsyTypeCheckException
public PsyTypeCheckException()Constructs a newexceptionobject with null as its detail message. -
PsyTypeCheckException
Constructs a newexceptionobject with the specified cause.- Parameters:
cause- the cause.
-