hgl 0.5.42~jessie
A compiler/interpreter suite for developing images (plugin development)
Public Member Functions | List of all members
HGL::Exception::PoptExitException Class Reference

Exception to indicate that HGL has to successfully terminate after processing an command line argument. More...

#include "poptexitexception.h"

Public Member Functions

 PoptExitException (int ret=EXIT_SUCCESS) throw ()
 Constructs an PoptExitException. More...
 
int getReturnCode () const _PURE throw ()
 Gets the return value with which the application should exit. More...
 

Detailed Description

Exception to indicate that HGL has to successfully terminate after processing an command line argument.

Some command line arguments show only information and than want to exit. For this case they should throw this exception to indicate HGL it can terminate gracefully without doing further action.

Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e
Since
0.4.65

Constructor & Destructor Documentation

HGL::Exception::PoptExitException::PoptExitException ( int  ret = EXIT_SUCCESS)
throw (
)

Constructs an PoptExitException.

Parameters
retthe return value with which the application should exit
Since
0.5.19

Member Function Documentation

int HGL::Exception::PoptExitException::getReturnCode ( ) const
throw (
)

Gets the return value with which the application should exit.

Parameters
retthe return value with which the application should exit
Since
0.5.19