KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > jmi > javamodel > ErrorInfo


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.jmi.javamodel;
21
22 /**
23  * ErrorInfo structure interface.
24  * Class representing a compiler error. The attributes of an error are as
25  * follows:
26  * <ul>
27  * <li><b>errorId</b> - Unique identifier of the kind of this error.</li>
28  * <li><b>arguments</b> - List of String arguments of the error.</li>
29  * <li><b>lineNumber</b> - Line number at which the error was found.</li>
30  * <li><b>column</b> - Number of column at which the error was found.</li>
31  * <li><b>description</b> - Error text (parameterized with the error argum
32  * ents).</li>
33  * <li><b>severity</b> - Severity of the error (ErrorTypeEnum.ERROR or Err
34  * orTypeEnum.WARNING).</li>
35  * </ul>
36  *
37  * <p><em><strong>Note:</strong> This type should not be subclassed or implemented
38  * by clients. It is generated from a MOF metamodel and automatically implemented
39  * by MDR (see <a HREF="http://mdr.netbeans.org/">mdr.netbeans.org</a>).</em></p>
40  */

41 public interface ErrorInfo extends javax.jmi.reflect.RefStruct {
42     /**
43      * Returns value of Description field.
44      * @return Value of Description field.
45      */

46     public java.lang.String JavaDoc getDescription();
47     /**
48      * Returns value of LineNumber field.
49      * @return Value of LineNumber field.
50      */

51     public int getLineNumber();
52     /**
53      * Returns value of Column field.
54      * @return Value of Column field.
55      */

56     public int getColumn();
57     /**
58      * Returns value of Severity field.
59      * @return Value of Severity field.
60      */

61     public org.netbeans.jmi.javamodel.ErrorType getSeverity();
62     /**
63      * Returns value of ErrorId field.
64      * @return Value of ErrorId field.
65      */

66     public java.lang.String JavaDoc getErrorId();
67     /**
68      * Returns value of Arguments field.
69      * @return Value of Arguments field.
70      */

71     public java.util.List JavaDoc getArguments();
72 }
73
Popular Tags