1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.5.0_06) on Fri Oct 17 16:04:52 EDT 2008 -->
\r
7 MarcException (MARC4J API)
\r
10 <META NAME="keywords" CONTENT="org.marc4j.MarcException class">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 parent.document.title="MarcException (MARC4J API)";
\r
25 <BODY BGCOLOR="white" onload="windowTitle();">
\r
28 <!-- ========= START OF TOP NAVBAR ======= -->
\r
29 <A NAME="navbar_top"><!-- --></A>
\r
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
\r
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
34 <A NAME="navbar_top_firstrow"><!-- --></A>
\r
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
36 <TR ALIGN="center" VALIGN="top">
\r
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarcException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
55 <A HREF="../../org/marc4j/MarcDirStreamReader.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
56 <A HREF="../../org/marc4j/MarcPermissiveStreamReader.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>
\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
58 <A HREF="../../index.html?org/marc4j/MarcException.html" target="_top"><B>FRAMES</B></A>
\r
59 <A HREF="MarcException.html" target="_top"><B>NO FRAMES</B></A>
\r
60 <SCRIPT type="text/javascript">
\r
63 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
68 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
76 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
78 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
\r
81 <A NAME="skip-navbar_top"></A>
\r
82 <!-- ========= END OF TOP NAVBAR ========= -->
\r
85 <!-- ======== START OF CLASS DATA ======== -->
\r
90 Class MarcException</H2>
\r
92 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
\r
93 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">java.lang.Throwable</A>
\r
94 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html" title="class or interface in java.lang">java.lang.Exception</A>
\r
95 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">java.lang.RuntimeException</A>
\r
96 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>org.marc4j.MarcException</B>
\r
99 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
\r
103 <DT><PRE>public class <B>MarcException</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></DL>
\r
107 Thrown in various situations by MARC4J; may contain a nested exception.
\r
112 <DT><B>Version:</B></DT>
\r
113 <DD>$Revision: 1.1 $</DD>
\r
114 <DT><B>Author:</B></DT>
\r
115 <DD>Bas Peters</DD>
\r
116 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#org.marc4j.MarcException">Serialized Form</A></DL>
\r
121 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
123 <A NAME="constructor_summary"><!-- --></A>
\r
124 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
125 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
126 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
127 <B>Constructor Summary</B></FONT></TH>
\r
129 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
130 <TD><CODE><B><A HREF="../../org/marc4j/MarcException.html#MarcException()">MarcException</A></B>()</CODE>
\r
133 Create a new <code>MarcException</code> with no detail mesage.</TD>
\r
135 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
136 <TD><CODE><B><A HREF="../../org/marc4j/MarcException.html#MarcException(java.lang.String)">MarcException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message)</CODE>
\r
139 Create a new <code>MarcException</code> with the <code>String</code>
140 specified as an error message.</TD>
\r
142 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
143 <TD><CODE><B><A HREF="../../org/marc4j/MarcException.html#MarcException(java.lang.String, java.lang.Throwable)">MarcException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message,
\r
144 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> ex)</CODE>
\r
147 Create a new <code>MarcException</code> with the given
148 <code>Exception</code> base cause and detail message.</TD>
\r
152 <!-- ========== METHOD SUMMARY =========== -->
\r
154 <A NAME="method_summary"><!-- --></A>
\r
155 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
156 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
157 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
158 <B>Method Summary</B></FONT></TH>
\r
161 <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
\r
162 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
163 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
164 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></B></TH>
\r
166 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
167 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#toString()" title="class or interface in java.lang">toString</A></CODE></TD>
\r
170 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
\r
171 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
172 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
173 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
\r
175 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
176 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
\r
182 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
184 <A NAME="constructor_detail"><!-- --></A>
\r
185 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
186 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
187 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
188 <B>Constructor Detail</B></FONT></TH>
\r
192 <A NAME="MarcException()"><!-- --></A><H3>
\r
195 public <B>MarcException</B>()</PRE>
\r
197 <DD>Create a new <code>MarcException</code> with no detail mesage.
\r
202 <A NAME="MarcException(java.lang.String)"><!-- --></A><H3>
\r
205 public <B>MarcException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message)</PRE>
\r
207 <DD>Create a new <code>MarcException</code> with the <code>String</code>
208 specified as an error message.
\r
211 <DT><B>Parameters:</B><DD><CODE>message</CODE> - information about the cause of the exception</DL>
\r
215 <A NAME="MarcException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
\r
218 public <B>MarcException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message,
\r
219 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> ex)</PRE>
\r
221 <DD>Create a new <code>MarcException</code> with the given
222 <code>Exception</code> base cause and detail message.
\r
225 <DT><B>Parameters:</B><DD><CODE>message</CODE> - information about the cause of the exception<DD><CODE>ex</CODE> - the nested exception that caused this exception</DL>
\r
227 <!-- ========= END OF CLASS DATA ========= -->
\r
231 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
232 <A NAME="navbar_bottom"><!-- --></A>
\r
233 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
234 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
236 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
237 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
238 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
239 <TR ALIGN="center" VALIGN="top">
\r
240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
242 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarcException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
244 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
247 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
251 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
257 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
258 <A HREF="../../org/marc4j/MarcDirStreamReader.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
259 <A HREF="../../org/marc4j/MarcPermissiveStreamReader.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>
\r
260 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
261 <A HREF="../../index.html?org/marc4j/MarcException.html" target="_top"><B>FRAMES</B></A>
\r
262 <A HREF="MarcException.html" target="_top"><B>NO FRAMES</B></A>
\r
263 <SCRIPT type="text/javascript">
\r
266 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
271 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
278 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
279 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
\r
280 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
281 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
\r
284 <A NAME="skip-navbar_bottom"></A>
\r
285 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r
288 Copyright © 2002-2006 Bas Peters. All Rights Reserved.
\r