Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI_exceptions.cc
Go to the documentation of this file.
1/*
2# <<BEGIN-copyright>>
3# Copyright 2019, Lawrence Livermore National Security, LLC.
4# This file is part of the gidiplus package (https://github.com/LLNL/gidiplus).
5# gidiplus is licensed under the MIT license (see https://opensource.org/licenses/MIT).
6# SPDX-License-Identifier: MIT
7# <<END-copyright>>
8*/
9
10#include <stdlib.h>
11#include <sstream>
12#include <algorithm>
13
14#include "GIDI.hpp"
15
16namespace GIDI {
17
18/*! \class Exception
19 * Exception class for all GIDI exceptions thrown by GIDI functions.
20 */
21
22/* *********************************************************************************************************//**
23 * @param a_message [in] The message that the function what() will return.
24 ***********************************************************************************************************/
25
26Exception::Exception( std::string const & a_message ) :
27 std::runtime_error( a_message ) {
28
29}
30
31} // End namespace GIDI.
Exception(std::string const &a_message)
Definition GIDI.hpp:32