cryptix.util.test
public class TestException extends Exception
getErrorCode() method returns the error code
that should be passed to System.exit.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
Since: Cryptix 3.0.2
| Field Summary | |
|---|---|
| static int | ABORTED_BY_USER |
| static int | COMPLETE_FAILURE |
| static int | COMPLETE_SUCCESS |
| static int | FATAL_ERROR |
| static int | ILLEGAL_ARGUMENTS |
| static int | NO_TESTS_AVAILABLE |
| static int | PARTIAL_FAILURE |
| Constructor Summary | |
|---|---|
| TestException(String reason, int code)
Constructs a TestException with the specified detail message and error code.
| |
| Method Summary | |
|---|---|
| int | getErrorCode() Returns the error code that should be passed to System.exit. |
Parameters: reason the reason why the exception was thrown. code the error code.
System.exit.