The OpenD Programming Language

FeatureUnavailableException

Base class for when you've requested a feature that is not available. It may not be available because it is possible, but not yet implemented, or it might be because it is impossible on your operating system.

class FeatureUnavailableException : ArsdExceptionBase {}

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