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

See also

Parameters

errorCode
descriptionSupplier

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

Constructors

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

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

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
fun describeProblem(): String

Answer a description of how the signature is malformed.

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?