Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Teuchos::CWrapperErrorHandling Class Reference

Static C Wrapper Error Handling Policy Class. More...

#include <Teuchos_CWrapperSupport_Cpp.hpp>

Static Public Member Functions

static void setPrintErrorOStream (const RCP< FancyOStream > &errorOStream)
 Set the ostream that will be printed to when errors occur. More...
 
static RCP< FancyOStreamgetPrintErrorOStream ()
 Get the ostream that will be printed when errors occur. More...
 
static void setShowStackTraceOnException (const bool showStrackTraceOnException)
 Set if the stacktrace should be shown on every caught exception. More...
 
static bool getShowStackTraceOnException ()
 Get if the stacktrace should be shown on every caught exception. More...
 

Detailed Description

Static C Wrapper Error Handling Policy Class.

Definition at line 27 of file Teuchos_CWrapperSupport_Cpp.hpp.

Member Function Documentation

void Teuchos::CWrapperErrorHandling::setShowStackTraceOnException ( const bool  showStrackTraceOnException)
static

Set if the stacktrace should be shown on every caught exception.

This only is meaningful if stacktracing is configured and enabled.

Definition at line 59 of file Teuchos_CWrapperSupport.cpp.

bool Teuchos::CWrapperErrorHandling::getShowStackTraceOnException ( )
static

Get if the stacktrace should be shown on every caught exception.

Definition at line 66 of file Teuchos_CWrapperSupport.cpp.


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