Package avail.exceptions

Types

Link copied to clipboard
class AmbiguousNameException : AvailException

An AmbiguousNameException is thrown when a simple string name could represent multiple true names.

Link copied to clipboard
class ArithmeticException : AvailRuntimeException

An ArithmeticException is thrown by arithmetic operations.

Link copied to clipboard
class AvailBreakpointException : RuntimeException

AvailBreakpointException is thrown by P_BreakPoint and then immediately caught. The Java debugger may be configured to trap when this exception is raised, thereby permitting VM-debugging within the context of specific Avail code.

Link copied to clipboard
class AvailEmergencyExitException : Exception

An AvailEmergencyExitException is thrown when a primitive fails during system bootstrapping.

Link copied to clipboard
enum AvailErrorCode : Enum<AvailErrorCode>

AvailErrorCode is an enumeration of all possible failures of operations on Avail objects.

Link copied to clipboard
open class AvailException(val errorCode: AvailErrorCode, cause: Throwable? = null) : Exception

AvailException is the root of the hierarchy of exceptions that are specific to the implementation of AvailObject and its numerous primitive operations.

Link copied to clipboard
open class AvailRuntimeException : RuntimeException

AvailRuntimeException is the root of the hierarchy of runtime exception that are specific to the implementation of AvailObject and its numerous primitive operations.

Link copied to clipboard
class AvailUnsupportedOperationException(descriptorClass: Class<out AbstractDescriptor>, messageName: String) : RuntimeException

An AvailUnsupportedOperationException is thrown whenever an Avail object's descriptor is asked to perform an unsupported operation.

Link copied to clipboard
class MalformedMessageException(val errorCode: AvailErrorCode, descriptionSupplier: () -> String) : AvailException

A MalformedMessageException is thrown when a method name is malformed and therefore cannot be converted to parsing instructions.

Link copied to clipboard
class MapException : AvailRuntimeException

A MapException is thrown by map operations.

Link copied to clipboard
class MarshalingException : AvailRuntimeException

MarshalingException indicates that an error occurred during the marshaling of an Avail object to Java.

Link copied to clipboard
class MethodDefinitionException : AvailException

A MethodDefinitionException is raised whenever an error condition is discovered that pertains to failed resolution of a method or method or failed invocation of a method definition.

Link copied to clipboard
open class PrimitiveThrownException : RuntimeException

A PrimitiveThrownException may be thrown from a primitive as a way to terminate a fiber, causing its failure continuation to be executed.

Link copied to clipboard
class SignatureException(val errorCode: AvailErrorCode) : AvailException

A SignatureException is thrown when a definition of a method is invalid. This might indicate a compatibility problem between the argument signature and the message name, or perhaps an inconsistency between the signature and other signatures already installed in the system.

Link copied to clipboard
class VariableGetException : AvailRuntimeException

VariableGetException is thrown when AvailObject.getValue fails for any reason.

Link copied to clipboard
class VariableSetException : AvailRuntimeException

VariableSetException is thrown when AvailObject.setValue fails for any reason.