#include <OW_CmdLineParser.hpp>
Inheritance diagram for OW_NAMESPACE::CmdLineParserException:
Public Member Functions | |
CmdLineParserException (const char *file, int line, const char *msg, int errorCode=::OW_NAMESPACE::Exception::UNKNOWN_ERROR_CODE, const Exception *otherException=0, int subClassId=::OW_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID) | |
virtual | ~CmdLineParserException () throw () |
virtual const char * | type () const |
Returns a string representing the concrete type. | |
virtual CmdLineParserException * | clone () const |
Make a copy of this exception object. |
Definition at line 46 of file OW_CmdLineParser.hpp.
|
|
|
Definition at line 48 of file OW_CmdLineParser.cpp. References OW_NAMESPACE::CmdLineParser::Option::longopt, m_longOpt, and OW_NAMESPACE::String::startsWith(). |
|
Make a copy of this exception object. If allocation fails, return 0. Subclasses need to override this function. This function must not throw. Here is an example of how to implement this in a derived class: virtual DerivedException* clone() const { return new(std::nothrow) DerivedException(*this); } Reimplemented from OW_NAMESPACE::Exception. Definition at line 48 of file OW_CmdLineParser.cpp. |
|
Returns a string representing the concrete type. e.g. "SocketException". Will not return 0. This function will not throw. Derived class implementations must not throw. Reimplemented from OW_NAMESPACE::Exception. Definition at line 48 of file OW_CmdLineParser.cpp. |