This should cause the program to terminate with the given exit code.
Public Member Functions | |
(id) | - initWithReason:exitCode: |
Create a new exception with a given reason and exit code. | |
(int) | - exitCode |
Returns the desired exit code. | |
Static Public Member Functions | |
(DDCliParseException *) | + parseExceptionWithReason:exitCode: |
Create a new exception with a given reason and exit code. |
+ (DDCliParseException *) parseExceptionWithReason: | (NSString *) | reason | ||
exitCode: | (int) | exitCode | ||
Create a new exception with a given reason and exit code.
reason | Reason for the exception | |
exitCode | Desired exit code |
- (id) initWithReason: | (NSString *) | reason | ||
exitCode: | (int) | exitCode | ||
Create a new exception with a given reason and exit code.
reason | Reason for the exception | |
exitCode | Desired exit code |
- (int) exitCode |
Returns the desired exit code.