Source code: com/tripi/asp/AspEmptyException.java
1 /**
2 * ArrowHead ASP Server
3 * This is a source file for the ArrowHead ASP Server - an 100% Java
4 * VBScript interpreter and ASP server.
5 *
6 * For more information, see http://www.tripi.com/arrowhead
7 *
8 * Copyright (C) 2002 Terence Haddock
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 *
24 */
25 package com.tripi.asp;
26
27 /**
28 * Special exception class which returns blank for all values.
29 *
30 * @author Terence Haddock
31 * @version 0.9
32 */
33 public class AspEmptyException extends AspException
34 {
35
36 /**
37 * Constructor
38 */
39 public AspEmptyException()
40 {
41 super("Empty");
42 }
43
44 /**
45 * AspCode
46 * @return AspCode of this error
47 */
48 public int AspCode()
49 {
50 return 0;
51 }
52
53 /**
54 * AspDescription
55 * @return Detailed description of this error
56 */
57 public String AspDescription()
58 {
59 return "";
60 }
61
62 /**
63 * Description
64 * @return Short Description of this error
65 */
66 public String Description()
67 {
68 return "";
69 }
70
71 /**
72 * Category
73 * @return Category of this error
74 */
75 public int Category()
76 {
77 return 0;
78 }
79
80 /**
81 * Column
82 * @return Column where this error occured
83 */
84 public int Column()
85 {
86 return 0;
87 }
88
89 /**
90 * File
91 * @return File where this error occured
92 */
93 public String File()
94 {
95 return "";
96 }
97
98 /**
99 * Line
100 * @return Line number where this error occured
101 */
102 public int Line()
103 {
104 return 0;
105 }
106
107 /**
108 * Number
109 * @return COM number of this error
110 */
111 public int Number()
112 {
113 return 0;
114 }
115
116 /**
117 * Source
118 * @return Source where this error occured
119 */
120 public String Source()
121 {
122 return "";
123 }
124 }