Logo ROOT  
Reference Guide
HistFactoryException.h
Go to the documentation of this file.
1// @(#)root/roostats:$Id$
2// Author: George Lewis, Kyle Cranmer
3/*************************************************************************
4 * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11
12#ifndef HISTFACTORY_EXCEPTION
13#define HISTFACTORY_EXCEPTION
14
15#include <iostream>
16#include <exception>
17
18
19namespace RooStats{
20 namespace HistFactory{
21
22 class hf_exc: public std::exception
23 {
24 virtual const char* what() const noexcept
25 {
26 return "HistFactory - Exception";
27 }
28 };
29
30 }
31}
32
33//static hf_exc bad_hf;
34
35#endif
virtual const char * what() const noexcept
@ HistFactory
Definition: RooGlobalFunc.h:69
Namespace for the RooStats classes.
Definition: Asimov.h:19