MalformedMessageException

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.

Author

Mark van Gulik

Parameters

errorCode
descriptionSupplier

A Supplier that produces a String describing what was malformed about the signature that failed to be parsed by a MessageSplitter.

See also

Constructors

Link copied to clipboard
constructor(errorCode: AvailErrorCode, descriptionSupplier: () -> String)

Construct a new MalformedMessageException with the specified error code and the specified Supplier that describes the problem.

Properties

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

Produce a String representation of the stack trace captured in this Throwable.

Functions

Link copied to clipboard
Link copied to clipboard

Answer a description of how the signature is malformed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Answer the numeric error code as an Avail.

Link copied to clipboard
Link copied to clipboard