svn-gvsig-desktop / tags / tmp_build / build / distribution / izpack_4.2.0 / doc / izpack / javadoc / com / coi / tools / os / win / NativeLibException.html @ 26384
History | View | Annotate | Download (28.1 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.5.0_16) on Wed Dec 17 09:23:50 CET 2008 -->
|
6 |
<TITLE>
|
7 |
NativeLibException |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.coi.tools.os.win.NativeLibException class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="NativeLibException"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
<NOSCRIPT>
|
21 |
</NOSCRIPT>
|
22 |
|
23 |
</HEAD>
|
24 |
|
25 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
26 |
|
27 |
|
28 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
29 |
<A NAME="navbar_top"><!-- --></A> |
30 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
31 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
32 |
<TR>
|
33 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
34 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
35 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
36 |
<TR ALIGN="center" VALIGN="top"> |
37 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
44 |
</TR>
|
45 |
</TABLE>
|
46 |
</TD>
|
47 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
48 |
</EM>
|
49 |
</TD>
|
50 |
</TR>
|
51 |
|
52 |
<TR>
|
53 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
54 |
<A HREF="../../../../../com/coi/tools/os/win/MSWinConstants.html" title="interface in com.coi.tools.os.win"><B>PREV CLASS</B></A> |
55 |
<A HREF="../../../../../com/coi/tools/os/win/RegDataContainer.html" title="class in com.coi.tools.os.win"><B>NEXT CLASS</B></A></FONT></TD> |
56 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
57 |
<A HREF="../../../../../index.html?com/coi/tools/os/win/NativeLibException.html" target="_top"><B>FRAMES</B></A> |
58 |
<A HREF="NativeLibException.html" target="_top"><B>NO FRAMES</B></A> |
59 |
<SCRIPT type="text/javascript"> |
60 |
<!--
|
61 |
if(window==top) {
|
62 |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
63 |
}
|
64 |
//-->
|
65 |
</SCRIPT>
|
66 |
<NOSCRIPT>
|
67 |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
68 |
</NOSCRIPT>
|
69 |
|
70 |
|
71 |
</FONT></TD> |
72 |
</TR>
|
73 |
<TR>
|
74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
75 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
76 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
77 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
78 |
</TR>
|
79 |
</TABLE>
|
80 |
<A NAME="skip-navbar_top"></A> |
81 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
82 |
|
83 |
<HR>
|
84 |
<!-- ======== START OF CLASS DATA ======== -->
|
85 |
<H2>
|
86 |
<FONT SIZE="-1"> |
87 |
com.coi.tools.os.win</FONT>
|
88 |
<BR>
|
89 |
Class NativeLibException</H2>
|
90 |
<PRE>
|
91 |
java.lang.Object |
92 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable |
93 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception |
94 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.coi.tools.os.win.NativeLibException</B> |
95 |
</PRE>
|
96 |
<DL>
|
97 |
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> |
98 |
</DL>
|
99 |
<HR>
|
100 |
<DL>
|
101 |
<DT><PRE>public class <B>NativeLibException</B><DT>extends java.lang.Exception</DL> |
102 |
</PRE>
|
103 |
|
104 |
<P>
|
105 |
A exception class which will be used from the native part of system dependent classes to signal |
106 |
exceptions. The native methods writes only symbolic error messages, the language dependant |
107 |
mapping will be done in this class. |
108 |
<P>
|
109 |
|
110 |
<P>
|
111 |
<DL>
|
112 |
<DT><B>Author:</B></DT> |
113 |
<DD>Klaus Bartz</DD> |
114 |
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#com.coi.tools.os.win.NativeLibException">Serialized Form</A></DL> |
115 |
<HR>
|
116 |
|
117 |
<P>
|
118 |
<!-- =========== FIELD SUMMARY =========== -->
|
119 |
|
120 |
<A NAME="field_summary"><!-- --></A> |
121 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
122 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
123 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
124 |
<B>Field Summary</B></FONT></TH> |
125 |
</TR>
|
126 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
127 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
128 |
<CODE>private java.util.ArrayList<java.lang.String></CODE></FONT></TD> |
129 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#args">args</A></B></CODE> |
130 |
|
131 |
<BR>
|
132 |
Additional arguments.</TD> |
133 |
</TR>
|
134 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
135 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
136 |
<CODE>private int</CODE></FONT></TD> |
137 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#libErr">libErr</A></B></CODE> |
138 |
|
139 |
<BR>
|
140 |
Internal error as number.</TD> |
141 |
</TR>
|
142 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
143 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
144 |
<CODE>private java.lang.String</CODE></FONT></TD> |
145 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#libErrString">libErrString</A></B></CODE> |
146 |
|
147 |
<BR>
|
148 |
Internal error message; contains most the symbolic error name.</TD> |
149 |
</TR>
|
150 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
151 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
152 |
<CODE>private static java.util.HashMap<java.lang.String,java.util.ResourceBundle></CODE></FONT></TD> |
153 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#messageResourceBundles">messageResourceBundles</A></B></CODE> |
154 |
|
155 |
<BR>
|
156 |
Map of founded resource bundles which contains the localized error messages.</TD> |
157 |
</TR>
|
158 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
159 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
160 |
<CODE>private int</CODE></FONT></TD> |
161 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#osErr">osErr</A></B></CODE> |
162 |
|
163 |
<BR>
|
164 |
OS error as number.</TD> |
165 |
</TR>
|
166 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
167 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
168 |
<CODE>private java.lang.String</CODE></FONT></TD> |
169 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#osErrString">osErrString</A></B></CODE> |
170 |
|
171 |
<BR>
|
172 |
OS error string; if possible localized.</TD> |
173 |
</TR>
|
174 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
175 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
176 |
<CODE>private static long</CODE></FONT></TD> |
177 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#serialVersionUID">serialVersionUID</A></B></CODE> |
178 |
|
179 |
<BR>
|
180 |
</TD> |
181 |
</TR>
|
182 |
</TABLE>
|
183 |
|
184 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
185 |
|
186 |
<A NAME="constructor_summary"><!-- --></A> |
187 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
188 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
189 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
190 |
<B>Constructor Summary</B></FONT></TH> |
191 |
</TR>
|
192 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
193 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#NativeLibException()">NativeLibException</A></B>()</CODE> |
194 |
|
195 |
<BR>
|
196 |
The constructor.</TD> |
197 |
</TR>
|
198 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
199 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#NativeLibException(int, int, java.lang.String, java.lang.String)">NativeLibException</A></B>(int libErr, |
200 |
int osErr,
|
201 |
java.lang.String libString,
|
202 |
java.lang.String osString)</CODE> |
203 |
|
204 |
<BR>
|
205 |
Creates a NativeLibException with the given values.</TD> |
206 |
</TR>
|
207 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
208 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#NativeLibException(java.lang.String)">NativeLibException</A></B>(java.lang.String message)</CODE> |
209 |
|
210 |
<BR>
|
211 |
Creates a NativeLibException with the given message.</TD> |
212 |
</TR>
|
213 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
214 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#NativeLibException(java.lang.String, java.lang.Throwable)">NativeLibException</A></B>(java.lang.String message, |
215 |
java.lang.Throwable cause)</CODE> |
216 |
|
217 |
<BR>
|
218 |
Creates a NativeLibException with the given message and cause.</TD> |
219 |
</TR>
|
220 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
221 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#NativeLibException(java.lang.Throwable)">NativeLibException</A></B>(java.lang.Throwable cause)</CODE> |
222 |
|
223 |
<BR>
|
224 |
Creates a NativeLibException with the given cause.</TD> |
225 |
</TR>
|
226 |
</TABLE>
|
227 |
|
228 |
<!-- ========== METHOD SUMMARY =========== -->
|
229 |
|
230 |
<A NAME="method_summary"><!-- --></A> |
231 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
232 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
233 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
234 |
<B>Method Summary</B></FONT></TH> |
235 |
</TR>
|
236 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
237 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
238 |
<CODE> void</CODE></FONT></TD> |
239 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#addArgument(java.lang.String)">addArgument</A></B>(java.lang.String arg)</CODE> |
240 |
|
241 |
<BR>
|
242 |
Adds a string to the internal argument list.</TD> |
243 |
</TR>
|
244 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
245 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
246 |
<CODE>static void</CODE></FONT></TD> |
247 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#addResourceBundle(java.lang.String)">addResourceBundle</A></B>(java.lang.String bundlePath)</CODE> |
248 |
|
249 |
<BR>
|
250 |
Adds a resource bundle which contains localized error messages.</TD> |
251 |
</TR>
|
252 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
253 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
254 |
<CODE> java.util.ArrayList<java.lang.String></CODE></FONT></TD> |
255 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getArguments()">getArguments</A></B>()</CODE> |
256 |
|
257 |
<BR>
|
258 |
Returns the internal argument list.</TD> |
259 |
</TR>
|
260 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
261 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
262 |
<CODE> int</CODE></FONT></TD> |
263 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getLibErr()">getLibErr</A></B>()</CODE> |
264 |
|
265 |
<BR>
|
266 |
Returns the number of the internal handled error.</TD> |
267 |
</TR>
|
268 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
269 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
270 |
<CODE> java.lang.String</CODE></FONT></TD> |
271 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getLibMessage()">getLibMessage</A></B>()</CODE> |
272 |
|
273 |
<BR>
|
274 |
Returns the message of the internal handled error.</TD> |
275 |
</TR>
|
276 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
277 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
278 |
<CODE> java.lang.String</CODE></FONT></TD> |
279 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getLocalizedLibMessage()">getLocalizedLibMessage</A></B>()</CODE> |
280 |
|
281 |
<BR>
|
282 |
Returns the localized message of the internal handled error.</TD> |
283 |
</TR>
|
284 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
285 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
286 |
<CODE> java.lang.String</CODE></FONT></TD> |
287 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getMessage()">getMessage</A></B>()</CODE> |
288 |
|
289 |
<BR>
|
290 |
</TD> |
291 |
</TR>
|
292 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
293 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
294 |
<CODE>private java.lang.String</CODE></FONT></TD> |
295 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getMsg(java.lang.String)">getMsg</A></B>(java.lang.String s)</CODE> |
296 |
|
297 |
<BR>
|
298 |
Searches the resource bundles for a string which coresponds to the given string as key.</TD> |
299 |
</TR>
|
300 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
301 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
302 |
<CODE> int</CODE></FONT></TD> |
303 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getOsErr()">getOsErr</A></B>()</CODE> |
304 |
|
305 |
<BR>
|
306 |
Returns the number of the system error.</TD> |
307 |
</TR>
|
308 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
309 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
310 |
<CODE> java.lang.String</CODE></FONT></TD> |
311 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#getOsMessage()">getOsMessage</A></B>()</CODE> |
312 |
|
313 |
<BR>
|
314 |
Returns the message of the system error.</TD> |
315 |
</TR>
|
316 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
317 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
318 |
<CODE>private static java.lang.String</CODE></FONT></TD> |
319 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#replaceString(java.lang.String, java.lang.String, java.lang.String)">replaceString</A></B>(java.lang.String destination, |
320 |
java.lang.String what,
|
321 |
java.lang.String with)</CODE> |
322 |
|
323 |
<BR>
|
324 |
Returns a string resulting from replacing all occurrences of what in this string with with.</TD> |
325 |
</TR>
|
326 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
327 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
328 |
<CODE> java.lang.String</CODE></FONT></TD> |
329 |
<TD><CODE><B><A HREF="../../../../../com/coi/tools/os/win/NativeLibException.html#reviseMsgWithArgs(java.lang.String)">reviseMsgWithArgs</A></B>(java.lang.String msg)</CODE> |
330 |
|
331 |
<BR>
|
332 |
Revise placeholder in the given message with the setted arguments</TD> |
333 |
</TR>
|
334 |
</TABLE>
|
335 |
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> |
336 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
337 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
338 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> |
339 |
</TR>
|
340 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
341 |
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD> |
342 |
</TR>
|
343 |
</TABLE>
|
344 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
345 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
346 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
347 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
348 |
</TR>
|
349 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
350 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
351 |
</TR>
|
352 |
</TABLE>
|
353 |
|
354 |
<P>
|
355 |
|
356 |
<!-- ============ FIELD DETAIL =========== -->
|
357 |
|
358 |
<A NAME="field_detail"><!-- --></A> |
359 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
360 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
361 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
362 |
<B>Field Detail</B></FONT></TH> |
363 |
</TR>
|
364 |
</TABLE>
|
365 |
|
366 |
<A NAME="serialVersionUID"><!-- --></A><H3> |
367 |
serialVersionUID</H3>
|
368 |
<PRE>
|
369 |
private static final long <B>serialVersionUID</B></PRE> |
370 |
<DL>
|
371 |
<DL>
|
372 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.coi.tools.os.win.NativeLibException.serialVersionUID">Constant Field Values</A></DL> |
373 |
</DL>
|
374 |
<HR>
|
375 |
|
376 |
<A NAME="messageResourceBundles"><!-- --></A><H3> |
377 |
messageResourceBundles</H3>
|
378 |
<PRE>
|
379 |
private static final java.util.HashMap<java.lang.String,java.util.ResourceBundle> <B>messageResourceBundles</B></PRE> |
380 |
<DL>
|
381 |
<DD>Map of founded resource bundles which contains the localized error messages.
|
382 |
<P>
|
383 |
<DL>
|
384 |
</DL>
|
385 |
</DL>
|
386 |
<HR>
|
387 |
|
388 |
<A NAME="libErr"><!-- --></A><H3> |
389 |
libErr</H3>
|
390 |
<PRE>
|
391 |
private int <B>libErr</B></PRE> |
392 |
<DL>
|
393 |
<DD>Internal error as number.
|
394 |
<P>
|
395 |
<DL>
|
396 |
</DL>
|
397 |
</DL>
|
398 |
<HR>
|
399 |
|
400 |
<A NAME="osErr"><!-- --></A><H3> |
401 |
osErr</H3>
|
402 |
<PRE>
|
403 |
private int <B>osErr</B></PRE> |
404 |
<DL>
|
405 |
<DD>OS error as number.
|
406 |
<P>
|
407 |
<DL>
|
408 |
</DL>
|
409 |
</DL>
|
410 |
<HR>
|
411 |
|
412 |
<A NAME="libErrString"><!-- --></A><H3> |
413 |
libErrString</H3>
|
414 |
<PRE>
|
415 |
private java.lang.String <B>libErrString</B></PRE> |
416 |
<DL>
|
417 |
<DD>Internal error message; contains most the symbolic error name.
|
418 |
<P>
|
419 |
<DL>
|
420 |
</DL>
|
421 |
</DL>
|
422 |
<HR>
|
423 |
|
424 |
<A NAME="osErrString"><!-- --></A><H3> |
425 |
osErrString</H3>
|
426 |
<PRE>
|
427 |
private java.lang.String <B>osErrString</B></PRE> |
428 |
<DL>
|
429 |
<DD>OS error string; if possible localized.
|
430 |
<P>
|
431 |
<DL>
|
432 |
</DL>
|
433 |
</DL>
|
434 |
<HR>
|
435 |
|
436 |
<A NAME="args"><!-- --></A><H3> |
437 |
args</H3>
|
438 |
<PRE>
|
439 |
private java.util.ArrayList<java.lang.String> <B>args</B></PRE> |
440 |
<DL>
|
441 |
<DD>Additional arguments.
|
442 |
<P>
|
443 |
<DL>
|
444 |
</DL>
|
445 |
</DL>
|
446 |
|
447 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
448 |
|
449 |
<A NAME="constructor_detail"><!-- --></A> |
450 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
451 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
452 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
453 |
<B>Constructor Detail</B></FONT></TH> |
454 |
</TR>
|
455 |
</TABLE>
|
456 |
|
457 |
<A NAME="NativeLibException()"><!-- --></A><H3> |
458 |
NativeLibException</H3>
|
459 |
<PRE>
|
460 |
public <B>NativeLibException</B>()</PRE> |
461 |
<DL>
|
462 |
<DD>The constructor.
|
463 |
<P>
|
464 |
</DL>
|
465 |
<HR>
|
466 |
|
467 |
<A NAME="NativeLibException(java.lang.String)"><!-- --></A><H3> |
468 |
NativeLibException</H3>
|
469 |
<PRE>
|
470 |
public <B>NativeLibException</B>(java.lang.String message)</PRE> |
471 |
<DL>
|
472 |
<DD>Creates a NativeLibException with the given message.
|
473 |
<P>
|
474 |
<DL>
|
475 |
<DT><B>Parameters:</B><DD><CODE>message</CODE> - to be used</DL> |
476 |
</DL>
|
477 |
<HR>
|
478 |
|
479 |
<A NAME="NativeLibException(java.lang.Throwable)"><!-- --></A><H3> |
480 |
NativeLibException</H3>
|
481 |
<PRE>
|
482 |
public <B>NativeLibException</B>(java.lang.Throwable cause)</PRE> |
483 |
<DL>
|
484 |
<DD>Creates a NativeLibException with the given cause.
|
485 |
<P>
|
486 |
<DL>
|
487 |
<DT><B>Parameters:</B><DD><CODE>cause</CODE> - to be used</DL> |
488 |
</DL>
|
489 |
<HR>
|
490 |
|
491 |
<A NAME="NativeLibException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3> |
492 |
NativeLibException</H3>
|
493 |
<PRE>
|
494 |
public <B>NativeLibException</B>(java.lang.String message, |
495 |
java.lang.Throwable cause)</PRE> |
496 |
<DL>
|
497 |
<DD>Creates a NativeLibException with the given message and cause.
|
498 |
<P>
|
499 |
<DL>
|
500 |
<DT><B>Parameters:</B><DD><CODE>message</CODE> - message to be used<DD><CODE>cause</CODE> - cause to be used</DL> |
501 |
</DL>
|
502 |
<HR>
|
503 |
|
504 |
<A NAME="NativeLibException(int, int, java.lang.String, java.lang.String)"><!-- --></A><H3> |
505 |
NativeLibException</H3>
|
506 |
<PRE>
|
507 |
public <B>NativeLibException</B>(int libErr, |
508 |
int osErr,
|
509 |
java.lang.String libString,
|
510 |
java.lang.String osString)</PRE> |
511 |
<DL>
|
512 |
<DD>Creates a NativeLibException with the given values.
|
513 |
<P>
|
514 |
<DL>
|
515 |
<DT><B>Parameters:</B><DD><CODE>libErr</CODE> - identifier of the internal handled error<DD><CODE>osErr</CODE> - system error number<DD><CODE>libString</CODE> - message for the internal handled error<DD><CODE>osString</CODE> - system error message</DL> |
516 |
</DL>
|
517 |
|
518 |
<!-- ============ METHOD DETAIL ========== -->
|
519 |
|
520 |
<A NAME="method_detail"><!-- --></A> |
521 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
522 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
523 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
524 |
<B>Method Detail</B></FONT></TH> |
525 |
</TR>
|
526 |
</TABLE>
|
527 |
|
528 |
<A NAME="addResourceBundle(java.lang.String)"><!-- --></A><H3> |
529 |
addResourceBundle</H3>
|
530 |
<PRE>
|
531 |
public static void <B>addResourceBundle</B>(java.lang.String bundlePath)</PRE> |
532 |
<DL>
|
533 |
<DD>Adds a resource bundle which contains localized error messages. The bundlePath should contain
|
534 |
a string with which the bundle is loadable with ResourceBundle.getBundle, may be the full |
535 |
class path to a ListResourceBundle. The localize is done by getBundle, therefore the path |
536 |
should not contain the locale substring. At a call to getMessage the bundle is searched with |
537 |
the libErrString as key. If it exist, the value of it is used by getMessage, else the |
538 |
libErrString self. |
539 |
<P>
|
540 |
<DD><DL> |
541 |
<DT><B>Parameters:</B><DD><CODE>bundlePath</CODE> - path of bundle without locale</DL> |
542 |
</DD>
|
543 |
</DL>
|
544 |
<HR>
|
545 |
|
546 |
<A NAME="getMessage()"><!-- --></A><H3> |
547 |
getMessage</H3>
|
548 |
<PRE>
|
549 |
public java.lang.String <B>getMessage</B>()</PRE> |
550 |
<DL>
|
551 |
<DD><DL> |
552 |
<DT><B>Overrides:</B><DD><CODE>getMessage</CODE> in class <CODE>java.lang.Throwable</CODE></DL> |
553 |
</DD>
|
554 |
<DD><DL> |
555 |
</DL>
|
556 |
</DD>
|
557 |
</DL>
|
558 |
<HR>
|
559 |
|
560 |
<A NAME="getLibErr()"><!-- --></A><H3> |
561 |
getLibErr</H3>
|
562 |
<PRE>
|
563 |
public int <B>getLibErr</B>()</PRE> |
564 |
<DL>
|
565 |
<DD>Returns the number of the internal handled error.
|
566 |
<P>
|
567 |
<DD><DL> |
568 |
|
569 |
<DT><B>Returns:</B><DD>the number of the internal handled error</DL> |
570 |
</DD>
|
571 |
</DL>
|
572 |
<HR>
|
573 |
|
574 |
<A NAME="getLibMessage()"><!-- --></A><H3> |
575 |
getLibMessage</H3>
|
576 |
<PRE>
|
577 |
public java.lang.String <B>getLibMessage</B>()</PRE> |
578 |
<DL>
|
579 |
<DD>Returns the message of the internal handled error.
|
580 |
<P>
|
581 |
<DD><DL> |
582 |
|
583 |
<DT><B>Returns:</B><DD>the messager of the internal handled error</DL> |
584 |
</DD>
|
585 |
</DL>
|
586 |
<HR>
|
587 |
|
588 |
<A NAME="getLocalizedLibMessage()"><!-- --></A><H3> |
589 |
getLocalizedLibMessage</H3>
|
590 |
<PRE>
|
591 |
public java.lang.String <B>getLocalizedLibMessage</B>()</PRE> |
592 |
<DL>
|
593 |
<DD>Returns the localized message of the internal handled error.
|
594 |
<P>
|
595 |
<DD><DL> |
596 |
|
597 |
<DT><B>Returns:</B><DD>the localized message of the internal handled error</DL> |
598 |
</DD>
|
599 |
</DL>
|
600 |
<HR>
|
601 |
|
602 |
<A NAME="getOsErr()"><!-- --></A><H3> |
603 |
getOsErr</H3>
|
604 |
<PRE>
|
605 |
public int <B>getOsErr</B>()</PRE> |
606 |
<DL>
|
607 |
<DD>Returns the number of the system error.
|
608 |
<P>
|
609 |
<DD><DL> |
610 |
|
611 |
<DT><B>Returns:</B><DD>the number of the system error</DL> |
612 |
</DD>
|
613 |
</DL>
|
614 |
<HR>
|
615 |
|
616 |
<A NAME="getOsMessage()"><!-- --></A><H3> |
617 |
getOsMessage</H3>
|
618 |
<PRE>
|
619 |
public java.lang.String <B>getOsMessage</B>()</PRE> |
620 |
<DL>
|
621 |
<DD>Returns the message of the system error.
|
622 |
<P>
|
623 |
<DD><DL> |
624 |
|
625 |
<DT><B>Returns:</B><DD>the messager of the system error</DL> |
626 |
</DD>
|
627 |
</DL>
|
628 |
<HR>
|
629 |
|
630 |
<A NAME="addArgument(java.lang.String)"><!-- --></A><H3> |
631 |
addArgument</H3>
|
632 |
<PRE>
|
633 |
public void <B>addArgument</B>(java.lang.String arg)</PRE> |
634 |
<DL>
|
635 |
<DD>Adds a string to the internal argument list.
|
636 |
<P>
|
637 |
<DD><DL> |
638 |
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - string to be added to the internal argument list</DL> |
639 |
</DD>
|
640 |
</DL>
|
641 |
<HR>
|
642 |
|
643 |
<A NAME="getArguments()"><!-- --></A><H3> |
644 |
getArguments</H3>
|
645 |
<PRE>
|
646 |
public java.util.ArrayList<java.lang.String> <B>getArguments</B>()</PRE> |
647 |
<DL>
|
648 |
<DD>Returns the internal argument list.
|
649 |
<P>
|
650 |
<DD><DL> |
651 |
|
652 |
<DT><B>Returns:</B><DD>the internal argument list</DL> |
653 |
</DD>
|
654 |
</DL>
|
655 |
<HR>
|
656 |
|
657 |
<A NAME="reviseMsgWithArgs(java.lang.String)"><!-- --></A><H3> |
658 |
reviseMsgWithArgs</H3>
|
659 |
<PRE>
|
660 |
public java.lang.String <B>reviseMsgWithArgs</B>(java.lang.String msg)</PRE> |
661 |
<DL>
|
662 |
<DD>Revise placeholder in the given message with the setted arguments
|
663 |
<P>
|
664 |
<DD><DL> |
665 |
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - message to be revised |
666 |
<DT><B>Returns:</B><DD>revised message</DL> |
667 |
</DD>
|
668 |
</DL>
|
669 |
<HR>
|
670 |
|
671 |
<A NAME="getMsg(java.lang.String)"><!-- --></A><H3> |
672 |
getMsg</H3>
|
673 |
<PRE>
|
674 |
private java.lang.String <B>getMsg</B>(java.lang.String s)</PRE> |
675 |
<DL>
|
676 |
<DD>Searches the resource bundles for a string which coresponds to the given string as key.
|
677 |
<P>
|
678 |
<DD><DL> |
679 |
<DT><B>Parameters:</B><DD><CODE>s</CODE> - string which should be used as keys for the resource bundle |
680 |
<DT><B>Returns:</B><DD>the founded message as int value</DL> |
681 |
</DD>
|
682 |
</DL>
|
683 |
<HR>
|
684 |
|
685 |
<A NAME="replaceString(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
686 |
replaceString</H3>
|
687 |
<PRE>
|
688 |
private static java.lang.String <B>replaceString</B>(java.lang.String destination, |
689 |
java.lang.String what,
|
690 |
java.lang.String with)</PRE> |
691 |
<DL>
|
692 |
<DD>Returns a string resulting from replacing all occurrences of what in this string with with.
|
693 |
In opposite to the String.replaceAll method this method do not use regular expression or |
694 |
other methods which are only available in JRE 1.4 and later. |
695 |
<P>
|
696 |
<DD><DL> |
697 |
<DT><B>Parameters:</B><DD><CODE>destination</CODE> - string for which the replacing should be performed<DD><CODE>what</CODE> - what string should be replaced<DD><CODE>with</CODE> - with what string what should be replaced |
698 |
<DT><B>Returns:</B><DD>a new String object if what was found in the given string, else the given string self</DL> |
699 |
</DD>
|
700 |
</DL>
|
701 |
<!-- ========= END OF CLASS DATA ========= -->
|
702 |
<HR>
|
703 |
|
704 |
|
705 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
706 |
<A NAME="navbar_bottom"><!-- --></A> |
707 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
708 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
709 |
<TR>
|
710 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
711 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
712 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
713 |
<TR ALIGN="center" VALIGN="top"> |
714 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
715 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
716 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
717 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
718 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
719 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
720 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
721 |
</TR>
|
722 |
</TABLE>
|
723 |
</TD>
|
724 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
725 |
</EM>
|
726 |
</TD>
|
727 |
</TR>
|
728 |
|
729 |
<TR>
|
730 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
731 |
<A HREF="../../../../../com/coi/tools/os/win/MSWinConstants.html" title="interface in com.coi.tools.os.win"><B>PREV CLASS</B></A> |
732 |
<A HREF="../../../../../com/coi/tools/os/win/RegDataContainer.html" title="class in com.coi.tools.os.win"><B>NEXT CLASS</B></A></FONT></TD> |
733 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
734 |
<A HREF="../../../../../index.html?com/coi/tools/os/win/NativeLibException.html" target="_top"><B>FRAMES</B></A> |
735 |
<A HREF="NativeLibException.html" target="_top"><B>NO FRAMES</B></A> |
736 |
<SCRIPT type="text/javascript"> |
737 |
<!--
|
738 |
if(window==top) {
|
739 |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
740 |
}
|
741 |
//-->
|
742 |
</SCRIPT>
|
743 |
<NOSCRIPT>
|
744 |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
745 |
</NOSCRIPT>
|
746 |
|
747 |
|
748 |
</FONT></TD> |
749 |
</TR>
|
750 |
<TR>
|
751 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
752 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
753 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
754 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
755 |
</TR>
|
756 |
</TABLE>
|
757 |
<A NAME="skip-navbar_bottom"></A> |
758 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
759 |
|
760 |
<HR>
|
761 |
|
762 |
</BODY>
|
763 |
</HTML>
|