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

Common execption to be thrown when interacting with capabilities. More...

#include <CapabilityException.h>

Inheritance diagram for Moose::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

Common execption to be thrown when interacting with capabilities.

Definition at line 23 of file CapabilityException.h.

Constructor & Destructor Documentation

◆ CapabilityException() [1/2]

Moose::CapabilityException::CapabilityException ( const CapabilityException )
default

◆ CapabilityException() [2/2]

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

Definition at line 37 of file CapabilityException.h.

37  : std::runtime_error(stringify(args...))
38  {
39  }
static std::string stringify(Args &&... args)

◆ ~CapabilityException()

Moose::CapabilityException::~CapabilityException ( )
throw (
)
inline

Definition at line 41 of file CapabilityException.h.

41 {}

Member Function Documentation

◆ stringify()

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

Definition at line 29 of file CapabilityException.h.

30  {
31  std::ostringstream ss;
32  streamArguments(ss, args...);
33  return ss.str();
34  }
void streamArguments(StreamType &)

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