int main(int, char *[])
{
typedef double PixelType;
ReaderType::Pointer reader = ReaderType::New();
reader->SetFileName( "nofile.png" );
try
{
reader->Update();
}
{
std::cerr << "ExceptionObject caught !" << std::endl;
std::cerr << err << std::endl;
return EXIT_SUCCESS;
}
return EXIT_FAILURE;
}