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_10) on Sun Apr 27 20:42:38 NZST 2008 -->
|
---|
6 | <TITLE>
|
---|
7 | FedoraGS3Exception.NotAFedoraServerException
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.greenstone.fedora.services.FedoraGS3Exception.NotAFedoraServerException 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="FedoraGS3Exception.NotAFedoraServerException";
|
---|
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="../../../../org/greenstone/fedora/services/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
38 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
43 | </TR>
|
---|
44 | </TABLE>
|
---|
45 | </TD>
|
---|
46 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
47 | </EM>
|
---|
48 | </TD>
|
---|
49 | </TR>
|
---|
50 |
|
---|
51 | <TR>
|
---|
52 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
53 | <A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.FedoraVersionNotSupportedException.html" title="class in org.greenstone.fedora.services"><B>PREV CLASS</B></A>
|
---|
54 | <A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.ServerNotFoundException.html" title="class in org.greenstone.fedora.services"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
55 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
56 | <A HREF="../../../../index.html?org/greenstone/fedora/services/FedoraGS3Exception.NotAFedoraServerException.html" target="_top"><B>FRAMES</B></A>
|
---|
57 | <A HREF="FedoraGS3Exception.NotAFedoraServerException.html" target="_top"><B>NO FRAMES</B></A>
|
---|
58 | <SCRIPT type="text/javascript">
|
---|
59 | <!--
|
---|
60 | if(window==top) {
|
---|
61 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
62 | }
|
---|
63 | //-->
|
---|
64 | </SCRIPT>
|
---|
65 | <NOSCRIPT>
|
---|
66 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
67 | </NOSCRIPT>
|
---|
68 |
|
---|
69 |
|
---|
70 | </FONT></TD>
|
---|
71 | </TR>
|
---|
72 | <TR>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
---|
75 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
76 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
---|
77 | </TR>
|
---|
78 | </TABLE>
|
---|
79 | <A NAME="skip-navbar_top"></A>
|
---|
80 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
81 |
|
---|
82 | <HR>
|
---|
83 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
84 | <H2>
|
---|
85 | <FONT SIZE="-1">
|
---|
86 | org.greenstone.fedora.services</FONT>
|
---|
87 | <BR>
|
---|
88 | Class FedoraGS3Exception.NotAFedoraServerException</H2>
|
---|
89 | <PRE>
|
---|
90 | java.lang.Object
|
---|
91 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
|
---|
92 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
|
---|
93 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.greenstone.fedora.services.FedoraGS3Exception.NotAFedoraServerException</B>
|
---|
94 | </PRE>
|
---|
95 | <DL>
|
---|
96 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
---|
97 | </DL>
|
---|
98 | <DL>
|
---|
99 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.html" title="class in org.greenstone.fedora.services">FedoraGS3Exception</A></DD>
|
---|
100 | </DL>
|
---|
101 | <HR>
|
---|
102 | <DL>
|
---|
103 | <DT><PRE>public static class <B>FedoraGS3Exception.NotAFedoraServerException</B><DT>extends java.lang.Exception</DL>
|
---|
104 | </PRE>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | This AuthenticationFailedException can be thrown when there is some
|
---|
108 | server listening at the host and port values entered by the user, but
|
---|
109 | when this server is (most likely) not a Fedora Server.
|
---|
110 | The IOException message received in such cases is:
|
---|
111 | "Unable to instantiate FedoraConnection
|
---|
112 | java.io.IOException: Request failed [404 /fedora/describe]"
|
---|
113 | And in such cases, we can throw this NotAFedoraServerException
|
---|
114 | to deal with it more particularly than more general IOExceptions.
|
---|
115 | <P>
|
---|
116 |
|
---|
117 | <P>
|
---|
118 | <DL>
|
---|
119 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.greenstone.fedora.services.FedoraGS3Exception.NotAFedoraServerException">Serialized Form</A></DL>
|
---|
120 | <HR>
|
---|
121 |
|
---|
122 | <P>
|
---|
123 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
124 |
|
---|
125 | <A NAME="field_summary"><!-- --></A>
|
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
127 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
128 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
---|
129 | <B>Field Summary</B></FONT></TH>
|
---|
130 | </TR>
|
---|
131 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
133 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
134 | <TD><CODE><B><A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.NotAFedoraServerException.html#MESSAGE">MESSAGE</A></B></CODE>
|
---|
135 |
|
---|
136 | <BR>
|
---|
137 | </TD>
|
---|
138 | </TR>
|
---|
139 | </TABLE>
|
---|
140 |
|
---|
141 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
142 |
|
---|
143 | <A NAME="constructor_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>Constructor Summary</B></FONT></TH>
|
---|
148 | </TR>
|
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
150 | <TD><CODE><B><A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.NotAFedoraServerException.html#FedoraGS3Exception.NotAFedoraServerException()">FedoraGS3Exception.NotAFedoraServerException</A></B>()</CODE>
|
---|
151 |
|
---|
152 | <BR>
|
---|
153 | </TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD><CODE><B><A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.NotAFedoraServerException.html#FedoraGS3Exception.NotAFedoraServerException(java.lang.String)">FedoraGS3Exception.NotAFedoraServerException</A></B>(java.lang.String message)</CODE>
|
---|
157 |
|
---|
158 | <BR>
|
---|
159 | </TD>
|
---|
160 | </TR>
|
---|
161 | </TABLE>
|
---|
162 |
|
---|
163 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
164 |
|
---|
165 | <A NAME="method_summary"><!-- --></A>
|
---|
166 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
167 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
168 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
---|
169 | <B>Method Summary</B></FONT></TH>
|
---|
170 | </TR>
|
---|
171 | </TABLE>
|
---|
172 | <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
---|
173 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
174 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
175 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
|
---|
179 | </TR>
|
---|
180 | </TABLE>
|
---|
181 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
182 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
183 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
184 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
---|
185 | </TR>
|
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
187 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
188 | </TR>
|
---|
189 | </TABLE>
|
---|
190 |
|
---|
191 | <P>
|
---|
192 |
|
---|
193 | <!-- ============ FIELD DETAIL =========== -->
|
---|
194 |
|
---|
195 | <A NAME="field_detail"><!-- --></A>
|
---|
196 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
197 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
198 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
---|
199 | <B>Field Detail</B></FONT></TH>
|
---|
200 | </TR>
|
---|
201 | </TABLE>
|
---|
202 |
|
---|
203 | <A NAME="MESSAGE"><!-- --></A><H3>
|
---|
204 | MESSAGE</H3>
|
---|
205 | <PRE>
|
---|
206 | public static final java.lang.String <B>MESSAGE</B></PRE>
|
---|
207 | <DL>
|
---|
208 | <DL>
|
---|
209 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.greenstone.fedora.services.FedoraGS3Exception.NotAFedoraServerException.MESSAGE">Constant Field Values</A></DL>
|
---|
210 | </DL>
|
---|
211 |
|
---|
212 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
213 |
|
---|
214 | <A NAME="constructor_detail"><!-- --></A>
|
---|
215 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
216 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
217 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
---|
218 | <B>Constructor Detail</B></FONT></TH>
|
---|
219 | </TR>
|
---|
220 | </TABLE>
|
---|
221 |
|
---|
222 | <A NAME="FedoraGS3Exception.NotAFedoraServerException()"><!-- --></A><H3>
|
---|
223 | FedoraGS3Exception.NotAFedoraServerException</H3>
|
---|
224 | <PRE>
|
---|
225 | public <B>FedoraGS3Exception.NotAFedoraServerException</B>()</PRE>
|
---|
226 | <DL>
|
---|
227 | </DL>
|
---|
228 | <HR>
|
---|
229 |
|
---|
230 | <A NAME="FedoraGS3Exception.NotAFedoraServerException(java.lang.String)"><!-- --></A><H3>
|
---|
231 | FedoraGS3Exception.NotAFedoraServerException</H3>
|
---|
232 | <PRE>
|
---|
233 | public <B>FedoraGS3Exception.NotAFedoraServerException</B>(java.lang.String message)</PRE>
|
---|
234 | <DL>
|
---|
235 | </DL>
|
---|
236 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
237 | <HR>
|
---|
238 |
|
---|
239 |
|
---|
240 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
241 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
242 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
243 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
244 | <TR>
|
---|
245 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
246 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
247 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
248 | <TR ALIGN="center" VALIGN="top">
|
---|
249 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/greenstone/fedora/services/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
250 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
251 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
252 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
253 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
254 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
255 | </TR>
|
---|
256 | </TABLE>
|
---|
257 | </TD>
|
---|
258 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
259 | </EM>
|
---|
260 | </TD>
|
---|
261 | </TR>
|
---|
262 |
|
---|
263 | <TR>
|
---|
264 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
265 | <A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.FedoraVersionNotSupportedException.html" title="class in org.greenstone.fedora.services"><B>PREV CLASS</B></A>
|
---|
266 | <A HREF="../../../../org/greenstone/fedora/services/FedoraGS3Exception.ServerNotFoundException.html" title="class in org.greenstone.fedora.services"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
267 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
268 | <A HREF="../../../../index.html?org/greenstone/fedora/services/FedoraGS3Exception.NotAFedoraServerException.html" target="_top"><B>FRAMES</B></A>
|
---|
269 | <A HREF="FedoraGS3Exception.NotAFedoraServerException.html" target="_top"><B>NO FRAMES</B></A>
|
---|
270 | <SCRIPT type="text/javascript">
|
---|
271 | <!--
|
---|
272 | if(window==top) {
|
---|
273 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
274 | }
|
---|
275 | //-->
|
---|
276 | </SCRIPT>
|
---|
277 | <NOSCRIPT>
|
---|
278 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
279 | </NOSCRIPT>
|
---|
280 |
|
---|
281 |
|
---|
282 | </FONT></TD>
|
---|
283 | </TR>
|
---|
284 | <TR>
|
---|
285 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
286 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
---|
287 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
288 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
---|
289 | </TR>
|
---|
290 | </TABLE>
|
---|
291 | <A NAME="skip-navbar_bottom"></A>
|
---|
292 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
293 |
|
---|
294 | <HR>
|
---|
295 |
|
---|
296 | </BODY>
|
---|
297 | </HTML>
|
---|