/*========================================================================= Program: FusionViewer Module: $RCSfile: ItkIOException.cpp,v $ Language: C++ Date: $Date: 2006/08/10 17:38:46 $ Version: $Revision: 1.1.1.1 $ Copyright (c) Insightful Corporation. All rights reserved. See Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ /* * Exception thrown by ITKImageIO on file I/O errors. */ #include "stdafx.h" #include "ItkIOException.h" // -------------------------------------------------------------------------- // ItkIOException // -------------------------------------------------------------------------- ItkIOException::ItkIOException() throw() { } // -------------------------------------------------------------------------- // ItkIOException // -------------------------------------------------------------------------- ItkIOException::ItkIOException(const char *msg) throw() : message(msg) { } // -------------------------------------------------------------------------- // ~ItkIOException // -------------------------------------------------------------------------- ItkIOException::~ItkIOException() throw() { } // -------------------------------------------------------------------------- // what // -------------------------------------------------------------------------- const char *ItkIOException::what() const throw() { return message.c_str(); }