22#ifndef __SB_EXCEPTION__
23#define __SB_EXCEPTION__
25#include <Inventor/STL/exception>
26#include <Inventor/STL/string>
45 SbException(
const char *
const& what) : m_what(what) {}
50 virtual ~SbException() throw() {}
56 virtual const char* what()
const throw() {
return m_what.toLatin1(); }
61 SbException& operator=(
const SbException&) {
return *
this; }
Class for smart character strings.