https://mooseframework.inl.gov
Public Member Functions | Static Public Member Functions | List of all members
CapabilityUtils::CapabilityException Class Reference

#include <CapabilityUtils.h>

Inheritance diagram for CapabilityUtils::CapabilityException:
[legend]

Public Member Functions

 CapabilityException (const CapabilityException &)=default
 
template<typename... Args>
 CapabilityException (Args &&... args)
 
 ~CapabilityException () throw ()
 

Static Public Member Functions

template<typename... Args>
static std::string stringify (Args &&... args)
 

Detailed Description

Definition at line 27 of file CapabilityUtils.h.

Constructor & Destructor Documentation

◆ CapabilityException() [1/2]

CapabilityUtils::CapabilityException::CapabilityException ( const CapabilityException )
default

◆ CapabilityException() [2/2]

template<typename... Args>
CapabilityUtils::CapabilityException::CapabilityException ( Args &&...  args)
inlineexplicit

Definition at line 41 of file CapabilityUtils.h.

41  : std::runtime_error(stringify(args...))
42  {
43  }
static std::string stringify(Args &&... args)

◆ ~CapabilityException()

CapabilityUtils::CapabilityException::~CapabilityException ( )
throw (
)
inline

Definition at line 45 of file CapabilityUtils.h.

45 {}

Member Function Documentation

◆ stringify()

template<typename... Args>
static std::string CapabilityUtils::CapabilityException::stringify ( Args &&...  args)
inlinestatic

Definition at line 33 of file CapabilityUtils.h.

34  {
35  std::ostringstream ss;
36  streamArguments(ss, args...);
37  return ss.str();
38  }
void streamArguments(StreamType &)

The documentation for this class was generated from the following file: