Teuchos - Trilinos Tools Package Version of the Day
Static Public Member Functions
Teuchos::CWrapperErrorHandling Class Reference

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

#include <Teuchos_CWrapperSupport_Cpp.hpp>

List of all members.

Static Public Member Functions

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

Detailed Description

Static C Wrapper Error Handling Policy Class.

Definition at line 60 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 91 of file Teuchos_CWrapperSupport.cpp.

bool Teuchos::CWrapperErrorHandling::getShowStackTraceOnException ( ) [static]

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

Definition at line 98 of file Teuchos_CWrapperSupport.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines