libSBML C# API  libSBML 5.12.0 C# API
libsbmlcs.SBMLExtensionException Class Reference
Inheritance diagram for libsbmlcs.SBMLExtensionException:
[legend]

Detailed Description

{core}

Exception used by package extensions

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.

Certain situations can result in an exception being thrown by libSBML package extensions. A prominent example involves the constructor for SBMLNamespaces (and its subclasses), which will throw SBMLExtensionException if the arguments it is given refer to an unknown SBML Level 3 package. The situation can arise for legitimate SBML files if the necessary package extension has not been registered with a given copy of libSBML.

See also
SBMLNamespaces

Public Member Functions

virtual void Dispose ()
 
 SBMLExtensionException (string errmsg)
 Creates a new SBMLExtensionException object with a given message. More...
 

Protected Attributes

bool swigCMemOwn
 

Constructor & Destructor Documentation

libsbmlcs.SBMLExtensionException.SBMLExtensionException ( string  errmsg)

Creates a new SBMLExtensionException object with a given message.

Parameters
errmsga string, the text of the error message to store with this exception

Member Function Documentation

virtual void libsbmlcs.SBMLExtensionException.Dispose ( )
virtual

Member Data Documentation

bool libsbmlcs.SBMLExtensionException.swigCMemOwn
protected