ErrorClass Class Reference

used for throwing exceptions. More...

#include <ErrorClass.h>

Collaboration diagram for ErrorClass:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ErrorClass (std::string errormsg_)
 the class constructor it has a single

Public Attributes

std::string errormsg
 errormsg is the error that is causing the exception to be thrown

Detailed Description

used for throwing exceptions.

Author:
Robert Fourer, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
when an error is encountered in a try-catch block we throw an ErrorClass with the errormsg_

Definition at line 32 of file ErrorClass.h.


Constructor & Destructor Documentation

ErrorClass::ErrorClass ( std::string  errormsg_  ) 

the class constructor it has a single

Parameters:
errormsg_ hods the error message as a string.

Definition at line 21 of file ErrorClass.cpp.

References errormsg.


Member Data Documentation

std::string ErrorClass::errormsg

errormsg is the error that is causing the exception to be thrown

Definition at line 42 of file ErrorClass.h.

Referenced by OSInstance::calculateAllConstraintFunctionGradients(), OSInstance::calculateAllConstraintFunctionValues(), OSInstance::calculateAllObjectiveFunctionGradients(), OSInstance::calculateAllObjectiveFunctionValues(), OSInstance::calculateConstraintFunctionGradient(), OSInstance::calculateFunctionValue(), OSInstance::calculateHessian(), OSInstance::calculateLagrangianHessian(), OSInstance::calculateObjectiveFunctionGradient(), OSnLNodeIf::constructCppADTape(), OSnLNodeMin::constructCppADTape(), OSnLNodeMax::constructCppADTape(), OSnLNodeAllDiff::constructCppADTape(), ErrorClass(), IpoptSolver::eval_f(), IpoptSolver::eval_g(), IpoptSolver::eval_grad_f(), IpoptSolver::eval_h(), IpoptSolver::eval_jac_g(), KnitroSolver::evalFC(), KnitroSolver::evalGA(), KnitroSolver::evalH(), IpoptSolver::finalize_solution(), OSInstance::forwardAD(), LindoSolver::generateLindoModel(), IpoptSolver::get_nlp_info(), CoinSolver::getCoinSolverType(), OSInstance::getIterateResults(), OSInstance::getJacobianSparsityPattern(), getJobID(), OSInstance::getNonlinearExpressionTreeIndexes(), OSInstance::getNonlinearExpressionTreeInPostfix(), OSInstance::getNonlinearExpressionTreeInPrefix(), OSInstance::getNonlinearExpressionTreeModIndexes(), OSInstance::getNonlinearExpressionTreeModInPostfix(), OSInstance::getNonlinearExpressionTreeModInPrefix(), getOSiLFromMps(), getOSiLFromNl(), OSInstance::getQuadraticRowIndexes(), OSInstance::getQuadraticTerms(), OSInstance::getSecondOrderResults(), OSInstance::getZeroOrderResults(), kill(), knock(), LindoSolver::lindoAPIErrorCheck(), KnitroSolver::loadProblemIntoKnitro(), main(), LindoSolver::optimize(), CoinSolver::optimize(), LindoSolver::processConstraints(), OSInstance::processLinearConstraintCoefficients(), LindoSolver::processNonlinearExpressions(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), OSiLReader::readOSiL(), OSrLReader::readOSrL(), retrieve(), OSInstance::reverseAD(), send(), CoinSolver::setCoinPackedMatrix(), solve(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), CoinSolver::solve(), and OSMatlab::solve().


The documentation for this class was generated from the following files:
Generated on Thu May 15 22:15:33 2008 by  doxygen 1.4.7