hgl 0.5.42~jessie
A compiler/interpreter suite for developing images (plugin development)
|
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... | |
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.
HGL::Exception::PoptExitException::PoptExitException | ( | int | ret = EXIT_SUCCESS | ) | |
throw | ( | ||||
) |
Constructs an PoptExitException
.
ret | the return value with which the application should exit |
int HGL::Exception::PoptExitException::getReturnCode | ( | ) | const | |
throw | ( | |||
) |
Gets the return value with which the application should exit.
ret | the return value with which the application should exit |