class OmException

This file includes all needed declarations and definitions for the program. More...

Definition#include <OmHeaders.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

This file includes all needed declarations and definitions for the program. Including this unique file should allow the use of the entire OpenMath C++ library.

enum Type {FileError, NotIterating, EmptyString, Disabled, MalformedNode, NullPointer, OutOfRange, Underlying, UnsupportedBase, Other }

The types of exceptions.

explicit OmException (Type type_in, const char * details_in="", OmStatus status_in=OmSuccessStatus)

Constructor.

~OmException ()
[virtual]

Destructor.

Type getType ()
[const virtual]

Get the type.

const char * getDetails ()
[const virtual]

Get the details.

OmStatus getStatus ()
[const virtual]

Get the status.

const char * translate (short verbose_in=2)
[virtual]

Translate the carried information explaining the situation. The verbose parameter can be:

const char * retranslate ()
[const virtual]

Get the result of the last translation.

void checkUnsupportedBase (unsigned int base_in)
[static]

Check for unsupported base.

void checkFileError (const FILE * file_in)
[static]

Check for file error.

void checkNotIterating (bool done_in)
[static]

Check for iteration status.

void checkEmptyString (const char * string_in)
[static]

Check for empty string.

void checkEmptyString (const wchar_t * string_in)
[static]

Check for empty wstring.

void checkDisabled (bool disabled_in, const char * details_in)
[static]

Check for disabled operation.

void checkMalformedNode (bool malformed_in, const char * details_in)
[static]

Check for malformed node.

void checkNullPointer (const void * pointer_in)
[static]

Check for null pointer.

void checkOutOfRange (bool outOfRange_in)
[static]

Check for out of range.

void checkUnderlying (OMstatus status_in)
[static]

Check for an underlying error from the C library.


Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199.