Program: gdcm
Module: $RCSfile: gdcmException.h,v $
Language: C++
- Date: $Date: 2004/10/12 04:35:46 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2004/12/03 20:16:58 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#define GDCM_EXCEPTION_H
#include "gdcmCommon.h"
+
#include <string>
#include <iostream>
#include <exception>
+
namespace gdcm
{
/// @param from name of the thrower
/// @param error error description string
explicit FormatUnexpected(const std::string &from,
- const std::string &error = "Unexpected file format")
+ const std::string &error = "Unexpected file format")
throw() : Exception( from, error ) { }
};
/// @param from name of the thrower
/// @param error error description string
explicit FormatError(const std::string &from,
- const std::string &error = "Invalid file format")
+ const std::string &error = "Invalid file format")
throw() : FormatUnexpected( from, error ) { }
};