public class TestException
extends java.lang.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 $
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
TestException(java.lang.String reason,
int code)
Constructs a TestException with the specified detail message and error code.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Returns the error code that should be passed to
System.exit. |
public static final int FATAL_ERROR
public static final int COMPLETE_FAILURE
public static final int ILLEGAL_ARGUMENTS
public static final int NO_TESTS_AVAILABLE
public static final int PARTIAL_FAILURE
public static final int ABORTED_BY_USER
public static final int COMPLETE_SUCCESS