-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSupport.java
More file actions
44 lines (29 loc) · 1.38 KB
/
Support.java
File metadata and controls
44 lines (29 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// =============================================================================
/**
* The <code>Support</code> class provides a number of static methods that make
* certain tasks easier. It also encapsulates and handles problems that are not
* particularly important to the current assignment.
*
* @author Scott F. Kaplan -- sfkaplan@cs.amherst.edu
**/
// =============================================================================
// =============================================================================
// IMPORTS
// =============================================================================
// =============================================================================
public class Support {
// =============================================================================
// =========================================================================
/**
* Print an error message and abort processing.
*
* @param The error message to display on <code>stderr</code>.
**/
public static void abort (String message) {
System.err.println(message);
System.exit(1);
} // abort ()
// =========================================================================
// =============================================================================
} // class Support
// =============================================================================