KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > field > db > TKFieldDataDBError


1 package com.teamkonzept.field.db;
2
3 public class TKFieldDataDBError extends Error JavaDoc {
4     
5     public String JavaDoc what;
6     public String JavaDoc type;
7     public int id;
8     public String JavaDoc name;
9
10     //********************************************************
11
/** Konstruktor
12      *
13      * @param String what, bei welchem Objekt der Fehler aufgetreten ist
14      * @param String type, der Typ des Objektes
15      * @param String Info, die ID des Objektes
16      * @param String formName Name des betroffenden Formulars
17      */

18     public TKFieldDataDBError (String JavaDoc what, String JavaDoc type, int id, String JavaDoc formName) {
19         super("Missing entry for object "+type+" in table "+what+": "+id);
20         this.what = what;
21         this.type = type;
22         this.id = id;
23         name = formName;
24     }
25
26         //********************************************************
27
/** Konstruktor
28      *
29      * @param String what, bei welchem Objekt der Fehler aufgetreten ist
30      * @param String type, der Typ des Objektes
31      * @param String Info, die ID des Objektes
32      * @param String formName Name des betroffenden Formulars
33      */

34     public TKFieldDataDBError (String JavaDoc what, String JavaDoc type, int id) {
35         super("Missing entry for object "+type+" in table "+what+": "+id);
36         this.what = what;
37         this.type = type;
38         this.id = id;
39     }
40 }
41
42
43
Popular Tags