1 |
2 |
ZTEX |
<!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.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
|
6 |
|
|
<TITLE>
|
7 |
|
|
UsbException
|
8 |
|
|
</TITLE>
|
9 |
|
|
|
10 |
|
|
<META NAME="date" CONTENT="2013-10-30">
|
11 |
|
|
|
12 |
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
13 |
|
|
|
14 |
|
|
<SCRIPT type="text/javascript">
|
15 |
|
|
function windowTitle()
|
16 |
|
|
{
|
17 |
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
18 |
|
|
parent.document.title="UsbException";
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
</SCRIPT>
|
22 |
|
|
<NOSCRIPT>
|
23 |
|
|
</NOSCRIPT>
|
24 |
|
|
|
25 |
|
|
</HEAD>
|
26 |
|
|
|
27 |
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
28 |
|
|
<HR>
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
32 |
|
|
<A NAME="navbar_top"><!-- --></A>
|
33 |
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
34 |
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
35 |
|
|
<TR>
|
36 |
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
37 |
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
38 |
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
39 |
|
|
<TR ALIGN="center" VALIGN="top">
|
40 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
41 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
42 |
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
43 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
44 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
45 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
46 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
47 |
|
|
</TR>
|
48 |
|
|
</TABLE>
|
49 |
|
|
</TD>
|
50 |
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
51 |
|
|
</EM>
|
52 |
|
|
</TD>
|
53 |
|
|
</TR>
|
54 |
|
|
|
55 |
|
|
<TR>
|
56 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
57 |
|
|
<A HREF="../ztex/JInputStream.html" title="class in ztex"><B>PREV CLASS</B></A>
|
58 |
|
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
59 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
60 |
|
|
<A HREF="../index.html?ztex/UsbException.html" target="_top"><B>FRAMES</B></A>
|
61 |
|
|
<A HREF="UsbException.html" target="_top"><B>NO FRAMES</B></A>
|
62 |
|
|
<SCRIPT type="text/javascript">
|
63 |
|
|
<!--
|
64 |
|
|
if(window==top) {
|
65 |
|
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
66 |
|
|
}
|
67 |
|
|
//-->
|
68 |
|
|
</SCRIPT>
|
69 |
|
|
<NOSCRIPT>
|
70 |
|
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
71 |
|
|
</NOSCRIPT>
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
</FONT></TD>
|
75 |
|
|
</TR>
|
76 |
|
|
<TR>
|
77 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
78 |
|
|
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
79 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
80 |
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
81 |
|
|
</TR>
|
82 |
|
|
</TABLE>
|
83 |
|
|
<A NAME="skip-navbar_top"></A>
|
84 |
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
85 |
|
|
|
86 |
|
|
<HR>
|
87 |
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
88 |
|
|
<H2>
|
89 |
|
|
<FONT SIZE="-1">
|
90 |
|
|
ztex</FONT>
|
91 |
|
|
<BR>
|
92 |
|
|
Class UsbException</H2>
|
93 |
|
|
<PRE>
|
94 |
|
|
java.lang.Object
|
95 |
|
|
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
|
96 |
|
|
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.lang.Exception
|
97 |
|
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.UsbException</B>
|
98 |
|
|
</PRE>
|
99 |
|
|
<DL>
|
100 |
|
|
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
101 |
|
|
</DL>
|
102 |
|
|
<HR>
|
103 |
|
|
<DL>
|
104 |
|
|
<DT><PRE>public class <B>UsbException</B><DT>extends java.lang.Exception</DL>
|
105 |
|
|
</PRE>
|
106 |
|
|
|
107 |
|
|
<P>
|
108 |
|
|
Signals an USB error.
|
109 |
|
|
<P>
|
110 |
|
|
|
111 |
|
|
<P>
|
112 |
|
|
<DL>
|
113 |
|
|
<DT><B>See Also:</B><DD><A HREF="../serialized-form.html#ztex.UsbException">Serialized Form</A></DL>
|
114 |
|
|
<HR>
|
115 |
|
|
|
116 |
|
|
<P>
|
117 |
|
|
|
118 |
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
119 |
|
|
|
120 |
|
|
<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
|
125 |
|
|
</TR>
|
126 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
127 |
|
|
<TD><CODE><B><A HREF="../ztex/UsbException.html#UsbException(java.lang.String)">UsbException</A></B>(java.lang.String msg)</CODE>
|
128 |
|
|
|
129 |
|
|
<BR>
|
130 |
|
|
Constructs an instance from the given error message.</TD>
|
131 |
|
|
</TR>
|
132 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
133 |
|
|
<TD><CODE><B><A HREF="../ztex/UsbException.html#UsbException(ch.ntb.usb.Usb_Device, java.lang.String)">UsbException</A></B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A> dev,
|
134 |
|
|
java.lang.String msg)</CODE>
|
135 |
|
|
|
136 |
|
|
<BR>
|
137 |
|
|
Constructs an instance from the given device and error message.</TD>
|
138 |
|
|
</TR>
|
139 |
|
|
</TABLE>
|
140 |
|
|
|
141 |
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
142 |
|
|
|
143 |
|
|
<A NAME="method_summary"><!-- --></A>
|
144 |
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
145 |
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
146 |
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
147 |
|
|
<B>Method Summary</B></FONT></TH>
|
148 |
|
|
</TR>
|
149 |
|
|
</TABLE>
|
150 |
|
|
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
151 |
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
152 |
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
153 |
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
|
154 |
|
|
</TR>
|
155 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
156 |
|
|
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
|
157 |
|
|
</TR>
|
158 |
|
|
</TABLE>
|
159 |
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
160 |
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
161 |
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
162 |
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
163 |
|
|
</TR>
|
164 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
165 |
|
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
166 |
|
|
</TR>
|
167 |
|
|
</TABLE>
|
168 |
|
|
|
169 |
|
|
<P>
|
170 |
|
|
|
171 |
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
172 |
|
|
|
173 |
|
|
<A NAME="constructor_detail"><!-- --></A>
|
174 |
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
175 |
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
176 |
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
177 |
|
|
<B>Constructor Detail</B></FONT></TH>
|
178 |
|
|
</TR>
|
179 |
|
|
</TABLE>
|
180 |
|
|
|
181 |
|
|
<A NAME="UsbException(java.lang.String)"><!-- --></A><H3>
|
182 |
|
|
UsbException</H3>
|
183 |
|
|
<PRE>
|
184 |
|
|
public <B>UsbException</B>(java.lang.String msg)</PRE>
|
185 |
|
|
<DL>
|
186 |
|
|
<DD>Constructs an instance from the given error message.
|
187 |
|
|
<P>
|
188 |
|
|
<DL>
|
189 |
|
|
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - The error message.</DL>
|
190 |
|
|
</DL>
|
191 |
|
|
<HR>
|
192 |
|
|
|
193 |
|
|
<A NAME="UsbException(ch.ntb.usb.Usb_Device, java.lang.String)"><!-- --></A><H3>
|
194 |
|
|
UsbException</H3>
|
195 |
|
|
<PRE>
|
196 |
|
|
public <B>UsbException</B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A> dev,
|
197 |
|
|
java.lang.String msg)</PRE>
|
198 |
|
|
<DL>
|
199 |
|
|
<DD>Constructs an instance from the given device and error message.
|
200 |
|
|
<P>
|
201 |
|
|
<DL>
|
202 |
|
|
<DT><B>Parameters:</B><DD><CODE>dev</CODE> - The device.<DD><CODE>msg</CODE> - The error message.</DL>
|
203 |
|
|
</DL>
|
204 |
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
205 |
|
|
<HR>
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
209 |
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
210 |
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
211 |
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
212 |
|
|
<TR>
|
213 |
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
214 |
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
215 |
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
216 |
|
|
<TR ALIGN="center" VALIGN="top">
|
217 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
218 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
219 |
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
220 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
221 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
222 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
223 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
224 |
|
|
</TR>
|
225 |
|
|
</TABLE>
|
226 |
|
|
</TD>
|
227 |
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
228 |
|
|
</EM>
|
229 |
|
|
</TD>
|
230 |
|
|
</TR>
|
231 |
|
|
|
232 |
|
|
<TR>
|
233 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
234 |
|
|
<A HREF="../ztex/JInputStream.html" title="class in ztex"><B>PREV CLASS</B></A>
|
235 |
|
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
236 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
237 |
|
|
<A HREF="../index.html?ztex/UsbException.html" target="_top"><B>FRAMES</B></A>
|
238 |
|
|
<A HREF="UsbException.html" target="_top"><B>NO FRAMES</B></A>
|
239 |
|
|
<SCRIPT type="text/javascript">
|
240 |
|
|
<!--
|
241 |
|
|
if(window==top) {
|
242 |
|
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
243 |
|
|
}
|
244 |
|
|
//-->
|
245 |
|
|
</SCRIPT>
|
246 |
|
|
<NOSCRIPT>
|
247 |
|
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
248 |
|
|
</NOSCRIPT>
|
249 |
|
|
|
250 |
|
|
|
251 |
|
|
</FONT></TD>
|
252 |
|
|
</TR>
|
253 |
|
|
<TR>
|
254 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
255 |
|
|
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
256 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
257 |
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
258 |
|
|
</TR>
|
259 |
|
|
</TABLE>
|
260 |
|
|
<A NAME="skip-navbar_bottom"></A>
|
261 |
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
262 |
|
|
|
263 |
|
|
<HR>
|
264 |
|
|
|
265 |
|
|
</BODY>
|
266 |
|
|
</HTML>
|