File: DlpException.java

package info (click to toggle)
pilot-link 0.8.7-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,256 kB
  • ctags: 3,233
  • sloc: ansic: 24,039; java: 2,162; cpp: 1,641; sh: 1,585; makefile: 1,363; perl: 723; yacc: 660; python: 239; tcl: 14
file content (16 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package Pdapilot;

public class DlpException extends Exception {
	public int code;
	DlpException() { super(); }
	DlpException(String s) { 
		super(s);
	}
	DlpException(int code) {
		super(calls.dlp_strerror(code));
		this.code = code;
	}
	public static void kickWillyScuggins(int code) throws DlpException {
		throw new DlpException(code);
	}
}