libSBML C# API  libSBML 5.8.0 C# API
 All Classes Namespaces Files Functions Variables Properties Pages
libsbmlcs.XMLConstructorException Class Reference
Inheritance diagram for libsbmlcs.XMLConstructorException:
[legend]

Detailed Description

Class of exceptions thrown by constructors of some libSBML objects.

This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.

In some situations, constructors for SBML objects may need to indicate to callers that the creation of the object failed. The failure may be for different reasons, such as an attempt to use invalid parameters or a system condition such as a memory error. To communicate this to callers, those classes will throw an XMLConstructorException.

In languages that don't have an exception mechanism (e.g., C), the constructors generally try to return an error code instead of throwing an exception.

See Also
SBMLConstructorException

Public Member Functions

virtual void Dispose ()
 
 XMLConstructorException (string v)
 
 XMLConstructorException ()
 

Protected Attributes

bool swigCMemOwn
 

Constructor & Destructor Documentation

libsbmlcs.XMLConstructorException.XMLConstructorException ( string  v)
libsbmlcs.XMLConstructorException.XMLConstructorException ( )

Member Function Documentation

virtual void libsbmlcs.XMLConstructorException.Dispose ( )
virtual

Member Data Documentation

bool libsbmlcs.XMLConstructorException.swigCMemOwn
protected