USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::iException Class Reference

#include <iException.h>

Inheritance diagram for Isis::iException:

Inheritance graph
[legend]
Collaboration diagram for Isis::iException:

Collaboration graph
[legend]
List of all members.

Detailed Description

Isis exception class.

The general Isis exception class. Contains an enumeration for what type of exception to throw.

Author:
Jeff Anderson

For internal use only.

History:
2005-05-10 Leah Dahmer - Added class documentation
History:
2005-12-28 Elizabeth Miller - Fixed bug in Pvl error output
History:
2006-06-12 Tracie Sucharski - Change clear method to static
History:
2006-11-02 Jeff Anderson - Fixed bug in Report method for exit status
History:
2007-12-31 Steven Lambright - Added stack trace
History:
2008-05-23 Steven Lambright - Added stack trace
History:
2008-06-18 Stuart Sides - Fixed doc error
History:
2008-07-08 Steven Lambright - Changed memory cleanup; now uses atexit
History:
2008-10-30 Steven Lambright - iException::Message now takes a const char* for the filename, instead of a chat*, issue pointed out by "novus0x2a" (Support Board Member)
History:
2008-12-15 Steven Lambright - iException::what no longer returns deleted memory.
History:
2009-07-29 Steven Lambright - Stack trace calculations moved to IsisDebug.h

Definition at line 63 of file iException.h.

Public Types

 None = 0
 User = 1
 Programmer = 2
 Pvl = 3
 Io = 5
 Camera = 6
 Projection = 7
 Parse = 8
 Math = 9
 Spice = 10
 Cancel = 200
 System = 255
enum  errType {
  None = 0, User = 1, Programmer = 2, Pvl = 3,
  Io = 5, Camera = 6, Projection = 7, Parse = 8,
  Math = 9, Spice = 10, Cancel = 200, System = 255
}
 Contains a set of throwable exception types. More...

Public Member Functions

const char * what () const throw ()
 Returns what happened in output format.
errType Type () const
 Returns the type of exception.
int Report (bool fileinfo=true)
 Reports the exception to output.
Isis::Pvl PvlErrors ()
 Adds a new PvlGroup called "Error" and appends it to the file (if PVL format output is enabled).
std::string Errors ()
 Returns the Exception message to be output (non-PVL).
bool IsPvlFormat ()
 Returns true or false based on whether the exception should output in PVL format.
 ~iException () throw ()
 Throws and destroys the iException object.

Static Public Member Functions

static iExceptionMessage (errType t, const std::string &m, const char *f, int l)
 Adds a message to an existing iException object (or creates a new one if it doesn't exist).
static void Clear ()
 Clears the list of exceptions.

Private Member Functions

 iException ()
 Constructs a blank iException.
std::string enumString (errType t) const
 Returns the type of exception in string format.
errType enumString (const std::string &s) const
 Given a string, returns the error type associated with it.
void describe ()
 Stores what happened in a member std::string.

Static Private Member Functions

static void Shutdown ()
static void createStackTrace ()

Private Attributes

bool p_reportFileLine
 True or false, depending on whether the filename and line number should be reported in the output.
bool p_pvlFormat
 True or false, depending on whether the exception should be output in PVL format.
std::string p_what
 This is the return value of what().

Static Private Attributes

static iExceptionp_exception = NULL
 Exception object pointer (Default is NULL).
static QList< Infop_list
 The list of exception information (From Info class).

Classes

class  Info
 Exception information. More...


Member Enumeration Documentation

enum Isis::iException::errType

Contains a set of throwable exception types.

Definition at line 66 of file iException.h.


Constructor & Destructor Documentation

Isis::iException::~iException (  )  throw ()

Throws and destroys the iException object.

Definition at line 99 of file iException.cpp.

Isis::iException::iException (  )  [private]

Constructs a blank iException.

Checks if file and line number should be output, and whether the exception should be reported in PVL format.

Definition at line 41 of file iException.cpp.

References Isis::PvlObject::FindGroup(), p_pvlFormat, p_reportFileLine, Isis::Preference::Preferences(), Shutdown(), and Isis::iString::UpCase().

Referenced by Message().


Member Function Documentation

void Isis::iException::Clear (  )  [static]

Clears the list of exceptions.

Definition at line 239 of file iException.cpp.

References p_list.

Referenced by Isis::Gruen::AdaptiveRegistration(), Isis::InfixToPostfix::Convert(), Isis::ImagePolygon::Create(), Isis::Chip::Load(), Report(), and Isis::Gruen::solve().

void Isis::iException::describe (  )  [private]

Stores what happened in a member std::string.

Definition at line 105 of file iException.cpp.

References enumString(), p_list, p_reportFileLine, and p_what.

Referenced by Message().

iException::errType Isis::iException::enumString ( const std::string &  s  )  const [private]

Given a string, returns the error type associated with it.

Returns:
If the string reads "USER ERROR", will return type User.

Definition at line 291 of file iException.cpp.

std::string Isis::iException::enumString ( iException::errType  t  )  const [private]

Returns the type of exception in string format.

Returns:
"USER ERROR" if user error type, etc.

Definition at line 247 of file iException.cpp.

Referenced by describe(), Errors(), and PvlErrors().

std::string Isis::iException::Errors (  ) 

Returns the Exception message to be output (non-PVL).

Definition at line 223 of file iException.cpp.

References enumString(), p_list, and p_reportFileLine.

Referenced by Report(), and Isis::Gruen::solve().

bool Isis::iException::IsPvlFormat (  ) 

Returns true or false based on whether the exception should output in PVL format.

Returns:
True if PVL format is enabled, false if not.

Definition at line 160 of file iException.cpp.

References p_pvlFormat.

Referenced by Report().

iException & Isis::iException::Message ( iException::errType  t,
const std::string &  m,
const char *  f,
int  l 
) [static]

Adds a message to an existing iException object (or creates a new one if it doesn't exist).

Parameters:
t An errType value of what type of exception is thrown.
m The message to add
f The filename
l The line number
Returns:
The modified exception object.

Definition at line 68 of file iException.cpp.

References createStackTrace(), describe(), Isis::iException::Info::filename, Isis::PvlObject::FindGroup(), Isis::PvlContainer::HasKeyword(), iException(), Isis::iException::Info::lineNumber, Isis::iException::Info::message, p_exception, p_list, Isis::Preference::Preferences(), and Isis::iException::Info::type.

Referenced by Isis::AutoReg::AdaptiveRegistration(), Isis::SerialNumberList::Add(), Isis::PvlFormat::Add(), Isis::Matrix::Add(), Isis::ImageOverlap::Add(), Isis::ControlPoint::Add(), Isis::ControlNet::Add(), Isis::PipelineApplication::AddBranch(), Isis::PrincipalComponentAnalysis::AddData(), Isis::CubeCalculator::AddDataPush(), Isis::GuiParameter::AddHelpers(), Isis::LeastSquares::AddKnown(), Isis::QuickFilter::AddLine(), Isis::OverlapNormalization::AddOverlap(), Isis::Stretch::AddPair(), Isis::LineEquation::AddPoint(), Isis::Progress::AddSteps(), Isis::PvlTranslationTable::AddTable(), Isis::Pipeline::AddToPipeline(), Isis::Buffer::Allocate(), Isis::Pvl::Append(), Isis::Pipeline::Application(), Isis::Application::Application(), Isis::BundleAdjust::ApplyHeldList(), Isis::Buffer::at(), Isis::Isotropic2::AtmosModelAlgorithm(), Isis::HapkeAtm2::AtmosModelAlgorithm(), Isis::Anisotropic2::AtmosModelAlgorithm(), Isis::Anisotropic1::AtmosModelAlgorithm(), Isis::OverlapNormalization::Average(), Isis::NumericalApproximation::BackwardFirstDifference(), Isis::NumericalApproximation::BackwardSecondDifference(), Isis::Histogram::BinCount(), Isis::Histogram::BinMiddle(), Isis::Histogram::BinRange(), Isis::NumericalApproximation::BoolesRule(), Isis::Buffer::Buffer(), Isis::PipelineApplication::BuildParamString(), Isis::SpicePosition::Cache(), Isis::CameraFactory::CameraVersion(), Isis::NumericalApproximation::CenterFirstDifference(), Isis::NumericalApproximation::CenterSecondDifference(), Isis::Statistics::ChebyshevMaximum(), Isis::Statistics::ChebyshevMinimum(), Isis::GSL::GSLUtility::check(), Isis::InfixToPostfix::CheckArgument(), Isis::CameraPointInfo::CheckConditions(), Isis::CameraPointInfo::CheckCube(), Isis::Affine::checkDims(), Isis::NaifStatus::CheckErrors(), Isis::BundleAdjust::CheckHeldList(), Isis::Progress::CheckStatus(), Isis::Filename::CheckVersion(), Isis::InfixToPostfix::CloseParenthesis(), Isis::PvlKeyword::Comment(), Isis::Mgs::MocLabels::Compute(), Isis::ControlPoint::ComputeApriori(), Isis::NumericalApproximation::ComputeCubicClamped(), Isis::ControlPoint::ComputeErrors(), Isis::NumericalApproximation::ComputeGsl(), Isis::CissLabels::ComputeImgProperties(), Isis::PrincipalComponentAnalysis::ComputeInverse(), Isis::PrincipalComponentAnalysis::ComputeTransform(), Isis::Database::configureAccess(), Isis::ControlPointList::ControlPointId(), Isis::ControlPointList::ControlPointIndex(), Isis::ControlPointList::ControlPointList(), Isis::InfixToPostfix::Convert(), Isis::Buffer::Copy(), Isis::DatabaseFactory::create(), Isis::ProjectionFactory::Create(), Isis::ImagePolygon::Create(), Isis::GuiParameterFactory::Create(), Isis::CubeIoHandler::Create(), Isis::Cube::Create(), Isis::CameraFactory::Create(), Isis::Spice::CreateCache(), Isis::ProjectionFactory::CreateForCube(), Isis::ProjectionFactory::CreateFromCube(), Isis::ProcessExportPds::CreateImageLabel(), Isis::ControlMeasure::CreatePvlGroup(), Isis::ControlPoint::CreatePvlObject(), Isis::Lo::LoCameraFiducialMap::CreateTrans(), Isis::CubeAttribute::CubeAttribute(), Isis::CubeFormatEnumeration(), Isis::CubeFormatName(), Qisis::CubeViewport::CubeViewport(), Isis::NumericalApproximation::CubicClampedSecondDerivatives(), Isis::ProcessImport::DataHeader(), Isis::ProcessImport::DataPrefix(), Isis::ProcessImport::DataSuffix(), Isis::ProcessImport::DataTrailer(), Isis::ControlNet::Delete(), Isis::PvlObject::DeleteGroup(), Isis::PvlContainer::DeleteKeyword(), Isis::PvlObject::DeleteObject(), Isis::PolynomialUnivariate::DerivativeCoef(), Isis::PolygonTools::Despike(), Isis::Matrix::Determinant(), Isis::PolygonTools::Difference(), Isis::NumericalApproximation::DomainMaximum(), Isis::NumericalApproximation::DomainMinimum(), Isis::ProcessPolygons::DoWork(), Isis::AtmosModel::Ei(), Isis::Matrix::Eigenvalues(), Isis::Matrix::Eigenvectors(), Isis::AtmosModel::En(), Isis::Mgs::MocLabels::EndDetector(), Isis::EndianSwapper::EndianSwapper(), Isis::Equirectangular::Equirectangular(), IsisXMLHandler::error(), Isis::Application::EstablishConnections(), Isis::OverlapNormalization::Evaluate(), Isis::NumericalApproximation::Evaluate(), Isis::LeastSquares::Evaluate(), Isis::BasisFunction::Evaluate(), Isis::NumericalApproximation::EvaluateCubicNeighborhood(), Isis::NumericalApproximation::EvaluateForIntegration(), Isis::UserInterface::EvaluateOption(), Isis::Application::Exec(), Isis::Chip::Extract(), Isis::ProcessImportPds::ExtractPdsProjection(), IsisXMLHandler::fatalError(), Isis::ProcessImport::FileHeader(), Isis::SerialNumberList::Filename(), Isis::SerialNumberList::FilenameIndex(), Isis::ProcessImport::FileTrailer(), Isis::ProcessPolygons::FillPolygon(), Isis::Pipeline::FinalOutput(), Isis::ControlNet::Find(), Isis::Blob::Find(), Isis::PipelineApplication::FindBranch(), Isis::ImagePolygon::FindFirstPoint(), Isis::PvlObject::FindGroup(), Isis::ImageOverlapSet::FindImageOverlaps(), Isis::PvlObject::FindKeyword(), Isis::PvlContainer::FindKeyword(), Isis::ImagePolygon::FindNextPoint(), Isis::PvlObject::FindObject(), Isis::InfixToPostfix::FindOperator(), Isis::CubeInfixToPostfix::FindOperator(), Isis::ImagePolygon::Fix360Poly(), Isis::PolygonTools::FixGeometry(), Isis::ImagePolygon::FixPolePoly(), Isis::InfixToPostfix::FormatFunctionCalls(), Isis::NumericalApproximation::ForwardFirstDifference(), Isis::NumericalApproximation::ForwardSecondDifference(), Isis::Application::FunctionCleanup(), Isis::Application::FunctionError(), Isis::OverlapNormalization::Gain(), Isis::CollectorMap< K, T, ComparePolicy, RemovalPolicy, CopyPolicy >::get(), IsisAml::GetAsString(), IsisAml::GetBoolean(), Isis::Spice::GetDouble(), IsisAml::GetDouble(), Isis::LeastSquares::GetExpected(), IsisAml::GetFilename(), Isis::LeastSquares::GetInput(), IsisAml::GetInputAttribute(), Isis::PipelineApplication::GetInputParameter(), Isis::Spice::GetInteger(), IsisAml::GetInteger(), Isis::ControlMeasure::GetMeasureData(), Isis::UserInterface::GetNextParameter(), Isis::CollectorMap< K, T, ComparePolicy, RemovalPolicy, CopyPolicy >::getNth(), IsisAml::GetOutputAttribute(), Isis::Plugin::GetPlugin(), Isis::GroupedStatistics::GetStatistics(), Isis::Spice::GetString(), IsisAml::GetString(), Isis::PvlToken::GetValue(), Isis::PvlToken::GetValueUpper(), Isis::Camera::GroundRangeResolution(), Isis::PvlObject::Group(), Isis::NumericalApproximation::GslComputed(), Isis::NumericalApproximation::GslFirstDerivative(), Isis::NumericalApproximation::GslIntegral(), Isis::NumericalApproximation::GslSecondDerivative(), Isis::GSL::GSLUtility::GSLTogsl(), Isis::ImageOverlapSet::HandleError(), Isis::GSL::GSLUtility::handler(), Isis::ControlPoint::HasReference(), Isis::Filename::HighestVersion(), HiLab::HiLab(), Isis::Cube::Histogram(), Isis::Interpolator::HotLine(), Isis::Interpolator::HotSample(), Isis::ID::ID(), Isis::IdealCamera::IdealCamera(), Isis::Matrix::Identity(), Isis::Buffer::Index(), Isis::Mgs::MocLabels::Init(), Isis::Database::init(), Isis::Cassini::VimsSkyMap::Init(), Isis::Cassini::VimsGroundMap::Init(), Isis::CissLabels::Init(), Isis::UniversalGroundMap::Init(), Isis::ObservationNumberList::init(), Isis::ObliqueCylindrical::init(), Isis::Histogram::InitializeFromCube(), Isis::ProcessExport::InitProcess(), Isis::Mgs::MocLabels::InitWago(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlTranslationTable::InputKeyword(), Isis::PvlTranslationManager::InputSize(), Isis::PvlTranslationManager::InputUnits(), Isis::PvlTranslationManager::InputValue(), Isis::NumericalAtmosApprox::InrFunc2Bint(), Isis::NumericalApproximation::InsideDomain(), Isis::Spice::InstrumentPosition(), Isis::Spice::InstrumentVelocity(), Isis::LineEquation::Intercept(), Isis::Interpolator::Interpolate(), Isis::PolygonTools::Intersect(), Isis::PrincipalComponentAnalysis::Inverse(), Isis::Matrix::Inverse(), Isis::GaussianDistribution::InverseCumulativeDistribution(), Isis::Affine::invert(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlKeyword::IsEquivalent(), Isis::PvlKeyword::IsNull(), Isis::PvlTranslationTable::IsOptional(), Isis::CollectorMap< K, T, ComparePolicy, RemovalPolicy, CopyPolicy >::key(), Isis::LabelAttachmentEnumeration(), Isis::LabelAttachmentName(), Isis::LambertConformal::LambertConformal(), Isis::PolygonTools::LatLonToSampleLine(), Isis::PolygonTools::LatLonToXY(), Isis::LeastSquares::LeastSquares(), Isis::Calculator::LeftShift(), Isis::MultivariateStatistics::LinearRegression(), Isis::Interpolator::Lines(), Isis::Stretch::Load(), Isis::Spice::Load(), Isis::PvlTokenizer::Load(), Isis::CSVReader::load(), Isis::ControlPoint::Load(), Isis::ControlMeasure::Load(), Isis::Chip::Load(), Isis::UserInterface::LoadBatchList(), Isis::SpicePosition::LoadCache(), Isis::Camera::LoadCache(), Isis::UserInterface::LoadCommandLine(), Isis::UserInterface::LoadHistory(), Isis::Lo::LoMediumCamera::LoMediumCamera(), Isis::Lro::LroWideAngleCamera::LroWideAngleCamera(), Isis::LunarAzimuthalEqualArea::LunarAzimuthalEqualArea(), Isis::Filename::MakeDirectory(), Isis::Mro::MarciCamera::MarciCamera(), Isis::AutoReg::Match(), Isis::Matrix::Matrix(), Isis::Statistics::Maximum(), Isis::Messenger::MdisCamera::MdisCamera(), Isis::SpicePosition::Memcache2HermiteCache(), Isis::Mercator::Mercator(), Isis::Statistics::Minimum(), Isis::NumericalApproximation::MinPoints(), Isis::Process::MissionData(), Isis::Mixed::Mixed(), Isis::Mgs::MocWideAngleCamera::MocWideAngleCamera(), Isis::MoonAlbedo::MoonAlbedo(), Qisis::MosaicItem::MosaicItem(), Isis::Matrix::Multiply(), Isis::Matrix::MultiplyElementWise(), Isis::Spice::NaifBodyCode(), Isis::NumericalApproximation::Name(), Isis::Filename::NewVersion(), Isis::ID::Next(), Isis::Stretch::NextPair(), Isis::Topo::NormModelAlgorithm(), Isis::ShadeAtm::NormModelAlgorithm(), Isis::Shade::NormModelAlgorithm(), Isis::AlbedoAtm::NormModelAlgorithm(), Isis::Albedo::NormModelAlgorithm(), Isis::NumericalApproximation::NumericalApproximation(), Isis::PvlObject::Object(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::SerialNumberList::ObservationNumber(), Isis::ObservationNumberList::ObservationNumber(), Isis::ObservationNumberList::ObservationNumberMapIndex(), Isis::OverlapNormalization::Offset(), Isis::TextFile::Open(), Isis::CubeIoHandler::Open(), Isis::Cube::Open(), Isis::Cube::OpenCheck(), Isis::TextFile::OpenChk(), Isis::PolygonTools::Operate(), Isis::Quaternion::operator *(), Isis::TableField::operator double(), Isis::TableField::operator float(), Isis::TableField::operator int(), Isis::TableField::operator std::string(), Isis::TableField::operator std::vector(), Isis::operator<<(), Isis::TableField::operator=(), Isis::NumericalApproximation::operator=(), Isis::operator>>(), Isis::TableRecord::operator[](), Isis::PvlKeyword::operator[](), Isis::PvlContainer::operator[](), Isis::ControlPoint::operator[](), Isis::Orthographic::Orthographic(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), Isis::OverlapStatistics::OverlapStatistics(), Isis::CisscalFile::p_GetLine(), Isis::TextFile::p_GetLine(), Isis::TableRecord::Pack(), Isis::Application::ParentFork(), Isis::StripPolygonSeeder::Parse(), Isis::Stretch::Parse(), Isis::PolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::InterestOperator::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::AutoReg::Parse(), Isis::Histogram::Percent(), Isis::Calculator::PerformOperation(), Isis::Projection::phi2Compute(), Isis::Cube::PhysicalBand(), Isis::CubeAttributeOutput::PixelType(), Isis::PointPerspective::PointPerspective(), Isis::ControlPoint::PointTypeToString(), Isis::PolarStereographic::PolarStereographic(), Isis::Calculator::Pop(), Isis::ObservationNumberList::PossibleFilenames(), Isis::SerialNumberList::PossibleSerialNumbers(), Isis::Pipeline::Prepare(), Isis::CubeCalculator::PrepareCalculations(), Isis::PrincipalComponentAnalysis::PrincipalComponentAnalysis(), Isis::ProcessImport::ProcessBil(), Isis::ProcessImport::ProcessBip(), Isis::ProcessImport::ProcessBsq(), Isis::Application::ProcessGuiEvents(), Isis::ProcessImportPds::ProcessPdsImageLabel(), Isis::ProcessImportPds::ProcessPdsQubeLabel(), Isis::Progress::Progress(), Isis::Projection::Projection(), IsisAml::PutAsString(), IsisAml::PutBoolean(), IsisAml::PutDouble(), IsisAml::PutFilename(), IsisAml::PutInteger(), Isis::TextFile::PutLine(), IsisAml::PutString(), Isis::PvlGroup::PvlGroup(), Isis::PvlKeyword::PvlKeyword(), Isis::PvlObject::PvlObject(), Isis::PvlTranslationTable::PvlTranslationTable(), Isis::QuickFilter::QuickFilter(), Isis::Quaternion::Qxv(), Isis::Camera::RaDecRange(), Isis::Camera::RaDecResolution(), Isis::RangeTypeEnumeration(), Isis::RangeTypeName(), Isis::Pvl::Read(), Isis::FileList::Read(), Isis::Cube::Read(), Isis::CSVReader::read(), Isis::Blob::Read(), Isis::UserInterface::ReadArray(), Isis::ControlNet::ReadControl(), Isis::Table::ReadData(), Isis::ImagePolygon::ReadData(), Isis::Blob::ReadData(), Isis::Lo::LoCameraFiducialMap::ReadFiducials(), Isis::ImageOverlapSet::ReadImageOverlaps(), Isis::Mex::HrscCamera::ReadLineRates(), Isis::PvlTokenizer::ReadToBrace(), Isis::PvlTokenizer::ReadToDoubleQuote(), Isis::PvlTokenizer::ReadToParen(), Isis::PvlTokenizer::ReadToSingleQuote(), Isis::PolygonTools::ReducePrecision(), Isis::ControlPoint::ReferenceIndex(), Isis::NumericalApproximation::RefineExtendedTrap(), Isis::AutoReg::Register(), Qisis::ControlPointEdit::registerPoint(), Isis::SpicePosition::ReloadCache(), Qisis::ChipViewport::reloadChip(), Isis::ObservationNumberList::Remove(), Isis::Statistics::RemoveData(), Isis::MultivariateStatistics::RemoveData(), Isis::Cube::ReOpen(), Isis::NumericalApproximation::ReportException(), Isis::ReseauDistortionMap::ReseauDistortionMap(), Isis::LeastSquares::Residual(), Isis::LeastSquares::Residuals(), IsisAml::ReturnParam(), Isis::Calculator::RightShift(), Isis::NumericalApproximation::RombergsMethod(), Isis::NumericalAtmosApprox::RombergsMethod(), Isis::CubeCalculator::RunCalculations(), Isis::Mgs::MocLabels::Sample(), Isis::Interpolator::Samples(), Qisis::FileTool::saveAs(), Isis::ProcessImport::SaveDataHeader(), Isis::ProcessImport::SaveDataPrefix(), Isis::ProcessImport::SaveDataSuffix(), Isis::ProcessImport::SaveDataTrailer(), Isis::ProcessImport::SaveFileHeader(), Isis::ProcessImport::SaveFileTrailer(), Isis::StripPolygonSeeder::Seed(), Isis::LimitPolygonSeeder::Seed(), Isis::GridPolygonSeeder::Seed(), Isis::GridPolygonSeeder::SeedGrid(), Isis::GridPolygonSeeder::SeedSubGrid(), Isis::Application::SendParentData(), Isis::SerialNumberList::SerialNumber(), Isis::SerialNumberList::SerialNumberIndex(), Isis::SerialNumberList::SerialNumberList(), Isis::Quaternion::Set(), Isis::SpicePosition::SetAberrationCorrection(), Isis::AtmosModel::SetAtmosAtmSwitch(), Isis::AtmosModel::SetAtmosBha(), Isis::AtmosModel::SetAtmosBharef(), Isis::AtmosModel::SetAtmosHga(), Isis::AtmosModel::SetAtmosHgaref(), Isis::Isotropic2::SetAtmosHnorm(), Isis::Isotropic1::SetAtmosHnorm(), Isis::HapkeAtm2::SetAtmosHnorm(), Isis::HapkeAtm1::SetAtmosHnorm(), Isis::Anisotropic2::SetAtmosHnorm(), Isis::Anisotropic1::SetAtmosHnorm(), Isis::AtmosModel::SetAtmosInc(), Isis::AtmosModel::SetAtmosNulneg(), Isis::AtmosModel::SetAtmosPhi(), Isis::AtmosModel::SetAtmosTau(), Isis::AtmosModel::SetAtmosTauref(), Isis::AtmosModel::SetAtmosWha(), Isis::AtmosModel::SetAtmosWharef(), Isis::Odyssey::ThemisIrDistortionMap::SetBand(), Isis::Odyssey::ThemisIrCamera::SetBand(), Isis::BandManager::SetBand(), Isis::UserInterface::SetBatchList(), Isis::Histogram::SetBinRange(), Isis::Brick::SetBrick(), Qisis::ChipViewport::setChip(), Isis::BasisFunction::SetCoefficients(), Isis::PolarStereographic::SetCoordinate(), Isis::ProcessImport::SetDataHeaderBytes(), Isis::ProcessImport::SetDataPrefixBytes(), Isis::ProcessImport::SetDataSuffixBytes(), Isis::ProcessImport::SetDataTrailerBytes(), Isis::ProcessImport::SetDimensions(), Isis::Cube::SetDimensions(), Isis::SpicePosition::SetEphemerisTimeHermiteCache(), Isis::UserInterface::SetErrorList(), Isis::ProcessImport::SetFileHeaderBytes(), Isis::ProcessImport::SetFileTrailerBytes(), Isis::Pipeline::SetFirstApplication(), Isis::Camera::SetGeometricTilingHint(), Isis::ControlNet::SetImages(), Isis::ProcessByBrick::SetInputBrickSize(), Isis::ProcessMosaic::SetInputCube(), Isis::ProcessMapMosaic::SetInputCube(), Isis::Process::SetInputCube(), Isis::ProcessImport::SetInputFile(), Isis::ProcessExport::SetInputRange(), Qisis::BandSpinBox::setKey(), Isis::Pipeline::SetLastApplication(), Isis::LineManager::SetLine(), Isis::Progress::SetMaximumSteps(), Isis::QuickFilter::SetMinimumPixels(), Isis::QuickFilter::SetMinMax(), Isis::PvlKeyword::SetName(), Isis::MoonAlbedo::SetNormBsh1(), Isis::MoonAlbedo::SetNormH(), Isis::Mixed::SetNormIncmat(), Isis::Albedo::SetNormIncmat(), Isis::TopoAtm::SetNormIncref(), Isis::Topo::SetNormIncref(), Isis::ShadeAtm::SetNormIncref(), Isis::Shade::SetNormIncref(), Isis::Mixed::SetNormIncref(), Isis::AlbedoAtm::SetNormIncref(), Isis::Albedo::SetNormIncref(), Isis::BundleAdjust::SetObservationMode(), Isis::ProcessByBrick::SetOutputBrickSize(), Isis::ProcessMosaic::SetOutputCube(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessImport::SetOutputCube(), Isis::Process::SetOutputCube(), Isis::ProcessExport::SetOutputRange(), Isis::ProcessExport::SetOutputType(), Isis::AutoReg::SetPatternValidPercent(), Isis::AutoReg::SetPatternZScoreMinimum(), Isis::ProcessImportPds::SetPdsFile(), Isis::HapkePhotoModel::SetPhotoB0(), Isis::HapkeHen::SetPhotoHg1(), Isis::HapkeHen::SetPhotoHg2(), Isis::HapkePhotoModel::SetPhotoHh(), Isis::Minnaert::SetPhotoK(), Isis::HapkePhotoModel::SetPhotoTheta(), Isis::HapkePhotoModel::SetPhotoWh(), Isis::ProcessImport::SetPixelType(), Isis::BufferManager::setpos(), Isis::AutoReg::SetReductionFactor(), Isis::SampleManager::SetSample(), Isis::Chip::SetSize(), Isis::BundleAdjust::SetSolveCmatrix(), Isis::AutoReg::SetSurfaceModelDistanceTolerance(), Isis::AutoReg::SetSurfaceModelEccentricityRatio(), Isis::AutoReg::SetSurfaceModelWindowSize(), Isis::TileManager::SetTile(), Isis::ProcessBySpectra::SetType(), Isis::PvlKeyword::SetUnits(), Isis::Statistics::SetValidRange(), Isis::Chip::SetValidRange(), Isis::ProcessImportVicar::SetVicarFile(), Isis::Cube::SetVirtualBands(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::NumericalApproximation::Simpsons3PointRule(), Isis::NumericalApproximation::Simpsons4PointRule(), Isis::Sinusoidal::Sinusoidal(), Isis::LineEquation::Slope(), Isis::OverlapNormalization::Solve(), Isis::BundleAdjust::Solve(), Isis::LeastSquares::SolveQRD(), Isis::LeastSquares::SolveSVD(), Isis::Spice::Spice(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardPdsLabel(), Isis::Mgs::MocLabels::StartDetector(), IsisAml::StartParser(), Isis::ProcessRubberSheet::StartProcess(), Isis::ProcessMosaic::StartProcess(), Isis::ProcessMapMosaic::StartProcess(), Isis::ProcessImport::StartProcess(), Isis::ProcessExport::StartProcess(), Isis::ProcessByTile::StartProcess(), Isis::ProcessBySpectra::StartProcess(), Isis::ProcessBySample::StartProcess(), Isis::ProcessByQuickFilter::StartProcess(), Isis::ProcessByLine::StartProcess(), Isis::ProcessByBrick::StartProcess(), Isis::ProcessByBoxcar::StartProcess(), Isis::ProcessExport::StartProcessBIL(), Isis::ProcessExport::StartProcessBIP(), Isis::ProcessExport::StartProcessBSQ(), Isis::Cube::Statistics(), IsisAml::StringToBool(), Isis::StringToPixel(), Isis::Spice::SubSolarPoint(), Isis::Spice::SubSpacecraftPoint(), Isis::Matrix::Subtract(), Isis::Spice::SunPosition(), Isis::TableRecord::Swap(), Isis::System(), Isis::TableField::TableField(), Isis::Projection::TargetRadii(), Isis::Filename::Temporary(), Isis::Odyssey::ThemisVisCamera::ThemisVisCamera(), Isis::iString::ToBigInteger(), Isis::iString::ToDouble(), Isis::iString::ToInteger(), Isis::TopoAtm::TopoAtm(), Isis::Projection::ToPositiveEast(), Isis::Projection::ToPositiveWest(), Isis::Database::tossDbError(), Isis::SqlQuery::tossQueryError(), Isis::Matrix::Trace(), Isis::PrincipalComponentAnalysis::Transform(), Isis::PvlTranslationTable::Translate(), Isis::TransverseMercator::TransverseMercator(), Isis::NumericalApproximation::TrapezoidalRule(), Isis::PvlKeyword::Unit(), Isis::PvlTokenizer::ValidateCharacter(), Isis::Mgs::MocLabels::ValidateLabels(), Isis::DbProfile::value(), Isis::SpicePosition::Velocity(), IsisAml::Verify(), IsisAml::VerifyAll(), Isis::GuiCubeParameter::ViewCube(), Isis::GuiCubeParameter::ViewLabel(), Isis::VikingCamera::VikingCamera(), Isis::Application::WaitForCommand(), Isis::ImagePolygon::WalkPoly(), IsisXMLHandler::warning(), Isis::Pvl::Write(), Isis::FileList::Write(), Isis::Cube::Write(), Isis::ControlNet::Write(), Isis::Blob::Write(), Isis::CubeBsqHandler::WriteBuf(), Isis::Blob::WriteData(), Isis::ImageOverlapSet::WriteImageOverlaps(), Isis::ImagePolygon::WriteInit(), Isis::Cube::WriteLabels(), Isis::CubeTileHandler::WriteTile(), Isis::PolygonTools::XYToLatLon(), and Isis::Statistics::ZScore().

Pvl Isis::iException::PvlErrors (  ) 

Adds a new PvlGroup called "Error" and appends it to the file (if PVL format output is enabled).

Definition at line 201 of file iException.cpp.

References Isis::PvlObject::AddGroup(), enumString(), Isis::Application::Name(), and p_list.

Referenced by Report().

int Isis::iException::Report ( bool  fileinfo = true  ) 

Reports the exception to output.

Parameters:
fileinfo Allows the caller to overide the users preference setting for file name and line number where the error was thrown
Returns:
The type of exception.

Definition at line 178 of file iException.cpp.

References Clear(), Errors(), IsPvlFormat(), p_reportFileLine, PvlErrors(), and Type().

iException::errType Isis::iException::Type (  )  const

Returns the type of exception.

Returns:
The type of exception (None if no type).

Definition at line 145 of file iException.cpp.

References p_list.

Referenced by Report().

const char * Isis::iException::what (  )  const throw ()

Returns what happened in output format.

This pointer is valid as long as no new iException objects are created (iException::Message is not called again).

Returns:
The message stating what happened and where.

Definition at line 132 of file iException.cpp.

References p_what.


Member Data Documentation

iException * Isis::iException::p_exception = NULL [static, private]

Exception object pointer (Default is NULL).

Definition at line 93 of file iException.h.

Referenced by Message(), and Shutdown().

QList< iException::Info > Isis::iException::p_list [static, private]

The list of exception information (From Info class).

Definition at line 120 of file iException.h.

Referenced by Clear(), createStackTrace(), describe(), Errors(), Message(), PvlErrors(), and Type().

bool Isis::iException::p_pvlFormat [private]

True or false, depending on whether the exception should be output in PVL format.

Definition at line 138 of file iException.h.

Referenced by iException(), and IsPvlFormat().

bool Isis::iException::p_reportFileLine [private]

True or false, depending on whether the filename and line number should be reported in the output.

Definition at line 132 of file iException.h.

Referenced by describe(), Errors(), iException(), and Report().

std::string Isis::iException::p_what [private]

This is the return value of what().

Calculate and keep track of it in order to prevent the caller from using deleted memory.

Definition at line 144 of file iException.h.

Referenced by describe(), and what().


The documentation for this class was generated from the following files: