ErrorClass Class Reference

used for throwing exceptions. More...

#include <OSErrorClass.h>

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 OSErrorClass.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 OSErrorClass.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 OSErrorClass.h.

Referenced by LindoSolver::buildSolverInstance(), KnitroSolver::buildSolverInstance(), IpoptSolver::buildSolverInstance(), CoinSolver::buildSolverInstance(), 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(), IpoptProblem::eval_f(), IpoptProblem::eval_g(), IpoptProblem::eval_grad_f(), IpoptProblem::eval_h(), IpoptProblem::eval_jac_g(), KnitroProblem::evalFC(), KnitroProblem::evalGA(), KnitroProblem::evalH(), IpoptProblem::finalize_solution(), OSInstance::forwardAD(), LindoSolver::generateLindoModel(), IpoptProblem::get_nlp_info(), CoinSolver::getCoinSolverType(), FileUtil::getFileAsChar(), FileUtil::getFileAsString(), OSInstance::getFirstOrderResults(), 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(), KnitroProblem::loadProblemIntoKnitro(), main(), LindoSolver::optimize(), LindoSolver::processConstraints(), OSInstance::processConstraints(), OSInstance::processLinearConstraintCoefficients(), LindoSolver::processNonlinearExpressions(), OSInstance::processObjectives(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), OSInstance::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 Sat Mar 29 22:38:05 2008 by  doxygen 1.5.3