File: prn8.java

package info (click to toggle)
cccc 1:3.1.4-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,956 kB
  • sloc: ansic: 33,244; cpp: 10,527; java: 622; makefile: 156; sh: 11
file content (24 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// prn8.java
// SF Bugtracker bug #226676 
// reported by Eric Pischel

public class EwoisErrorHandler 
{ 
	public synchronized void handleError( int fehlertyp ) 
	{ 
		String lvTyp = ""; 
		switch (fehlertyp) 
		{ 
		case WARNING: 
			lvTyp = "Warnung"; 
			break; 
		case LOGINFO: 
			lvTyp = "LogInfo"; 
			break; 
		} 
		StringBuffer buffer = new StringBuffer(lvTyp); 
		buffer.append("Zeit: ").append(""); 
	} 
	int WARNING = 1; 
	int LOGINFO = 2; 
}