SignatureException

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.

Note that this is distinct from a MalformedMessageException, which indicates a syntactic error in the message name itself.

Author

Mark van Gulik

See also

Parameters

errorCode

Constructors

Link copied to clipboard
fun SignatureException(errorCode: AvailErrorCode)

Construct a new SignatureException with the specified error code.

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
fun numericCode(): A_Number

Answer the numeric error code as an Avail.

Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val errorCode: AvailErrorCode
Link copied to clipboard
open val message: String?