The OpenD Programming Language

SystemApiException

Members

Variables

args
SavedArgument[8] args;
errorCode
SystemErrorCode errorCode;

Inherited Members

From ArsdExceptionBase

toString
void toString(void delegate(in char[]) sink)
string toString()

The toString method will print out several components:

getAdditionalPrintableInformation
void getAdditionalPrintableInformation(void delegate(string name, in char[] value) sink)

Users might like to see additional information with the exception. API consumers should pull this out of properties on your child class, but the parent class might not be able to deal with the arbitrary types at runtime the children can introduce, so bringing them all down to strings simplifies that.

printableExceptionName
string printableExceptionName()

This is the name of the exception class, suitable for printing. This should be static data (e.g. a string literal). Override it in subclasses.

msg
void msg()

deliberately hiding Throwable.msg. Use message and toString instead.

Meta