37 const std::string& file,
unsigned int line,
38 const std::string& description,
39 const std::string& location)
47 loc <<
":" <<
m_Line <<
":\n";
86 const std::string& file,
unsigned int line,
87 const std::string& description,
88 const std::string& location)
91 const Self *
const rawPtr =
new Self(file, line, description, location);
93 rawPtr->LightObject::UnRegister();
114 const std::string& file,
unsigned int line,
115 const std::string& description,
116 const std::string& location)
140 unsigned int lineNumber,
149 const std::string& file,
150 unsigned int lineNumber,
151 const std::string& desc,
152 const std::string& loc)
161 m_ExceptionData(orig.m_ExceptionData)
206 if ( thisData == origData )
212 return (thisData != 0) && (origData != 0) &&
245 std::string location;
256 std::string description;
297 return thisData ? thisData->
m_WhatPointer :
"ExceptionObject";
308 os << indent <<
"itk::" << this->GetNameOfClass() <<
" (" <<
this <<
")\n";
313 if (m_ExceptionData.IsNotNull())
319 os << indent <<
"Location: \"" << data.
m_Location <<
"\" " << std::endl;
322 if (! data.
m_File.empty())
324 os << indent <<
"File: " << data.
m_File << std::endl;
325 os << indent <<
"Line: " << data.
m_Line << std::endl;
330 os << indent <<
"Description: " << data.
m_Description << std::endl;
334 os << indent << std::endl;