00001 // -*- mode:c++ -*- 00002 // 00003 // This is the SIP interface definition for FactoryException 00004 // 00005 // Copyright (C) 2003 The Board of Trustees of 00006 // The Leland Stanford Junior University. All Rights Reserved. 00007 // 00008 // This file is part of sihippo 00009 // 00010 // $Id: FactoryException.sip,v 1.3 2004/03/25 18:04:55 pfkeb Exp $ 00011 // 00012 // Author: Paul_Kunz@slac.stanford.edu 00013 // 00014 00015 class FactoryException 00016 { 00017 %TypeHeaderCode 00018 #include "pattern/FactoryException.h" 00019 %End 00020 00021 00022 public: 00023 00024 FactoryException ( const std::string & ); 00025 const char * what () const throw (); 00026 00027 char * __str__(); 00028 %MethodCode 00029 return PyString_FromString ( sipCpp->what() ); 00030 %End 00031 00032 };