Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc on Mon Jun 26 20:52:08 AKDT 2000 -->
6
<TITLE>
7
MetaCat API: Class  AccessionNumberException
8
</TITLE>
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10
</HEAD>
11
<BODY BGCOLOR="white">
12

    
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16
<TR>
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
  <TR ALIGN="center" VALIGN="top">
21
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
22
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
23
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AccessionNumberException.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
28
  </TR>
29
</TABLE>
30
</TD>
31
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
32
</EM>
33
</TD>
34
</TR>
35

    
36
<TR>
37
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
38
&nbsp;PREV CLASS&nbsp;
39
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/AccessionNumberGeneratedException.html"><B>NEXT CLASS</B></A></FONT></TD>
40
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
41
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
42
&nbsp;<A HREF="AccessionNumberException.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
43
</TR>
44
<TR>
45
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
46
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
47
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
48
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
49
</TR>
50
</TABLE>
51
<!-- =========== END OF NAVBAR =========== -->
52

    
53
<HR>
54
<!-- ======== START OF CLASS DATA ======== -->
55
<H2>
56
<FONT SIZE="-1">
57
edu.ucsb.nceas.metacat</FONT>
58
<BR>
59
Class  AccessionNumberException</H2>
60
<PRE>
61
java.lang.Object
62
  |
63
  +--java.lang.Throwable
64
        |
65
        +--java.lang.Exception
66
              |
67
              +--<B>edu.ucsb.nceas.metacat.AccessionNumberException</B>
68
</PRE>
69
<HR>
70
<DL>
71
<DT>public class <B>AccessionNumberException</B><DT>extends java.lang.Exception</DL>
72

    
73
<P>
74
Exception thrown when an error occurs because an AccessionNumber was 
75
 invalid or used incorrectly.
76

    
77
 Accession numbers are invalid under the following conditions:
78
   1) INSERT mode, and the provided accesion # doesn't contain "sep"
79
   2) UPDATE mode, and no accession # provided
80
   3) UPDATE mode, and accession # doesn't exist in xml_documents table
81
   4) DELETE mode, and no accession # provided
82
   5) DELETE mode, and accession # doesn't exist in xml_documents table
83
<P>
84
<DL>
85
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#edu.ucsb.nceas.metacat.AccessionNumberException">Serialized Form</A></DL>
86
<HR>
87

    
88
<P>
89
<!-- ======== INNER CLASS SUMMARY ======== -->
90

    
91

    
92
<!-- =========== FIELD SUMMARY =========== -->
93

    
94

    
95
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
96

    
97
<A NAME="constructor_summary"><!-- --></A>
98
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
99
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
100
<TD COLSPAN=2><FONT SIZE="+2">
101
<B>Constructor Summary</B></FONT></TD>
102
</TR>
103
<TR BGCOLOR="white" CLASS="TableRowColor">
104
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/AccessionNumberException.html#AccessionNumberException(java.lang.String)">AccessionNumberException</A></B>(java.lang.String&nbsp;message)</CODE>
105

    
106
<BR>
107
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new AccessionNumberException.</TD>
108
</TR>
109
</TABLE>
110
&nbsp;
111
<!-- ========== METHOD SUMMARY =========== -->
112

    
113
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
114
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
115
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
116
<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
117
</TR>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD><CODE>fillInStackTrace, 
120
getLocalizedMessage, 
121
getMessage, 
122
printStackTrace, 
123
printStackTrace, 
124
printStackTrace, 
125
toString</CODE></TD>
126
</TR>
127
</TABLE>
128
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
129
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
130
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131
<TD><B>Methods inherited from class java.lang.Object</B></TD>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD><CODE>clone, 
135
equals, 
136
finalize, 
137
getClass, 
138
hashCode, 
139
notify, 
140
notifyAll, 
141
wait, 
142
wait, 
143
wait</CODE></TD>
144
</TR>
145
</TABLE>
146
&nbsp;
147
<P>
148

    
149
<!-- ============ FIELD DETAIL =========== -->
150

    
151

    
152
<!-- ========= CONSTRUCTOR DETAIL ======== -->
153

    
154
<A NAME="constructor_detail"><!-- --></A>
155
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
156
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
157
<TD COLSPAN=1><FONT SIZE="+2">
158
<B>Constructor Detail</B></FONT></TD>
159
</TR>
160
</TABLE>
161

    
162
<A NAME="AccessionNumberException(java.lang.String)"><!-- --></A><H3>
163
AccessionNumberException</H3>
164
<PRE>
165
public <B>AccessionNumberException</B>(java.lang.String&nbsp;message)</PRE>
166
<DL>
167
<DD>Create a new AccessionNumberException.<DD><DL>
168
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning message.</DL>
169
</DD>
170
</DL>
171

    
172
<!-- ============ METHOD DETAIL ========== -->
173

    
174
<!-- ========= END OF CLASS DATA ========= -->
175
<HR>
176

    
177
<!-- ========== START OF NAVBAR ========== -->
178
<A NAME="navbar_bottom"><!-- --></A>
179
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
180
<TR>
181
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
182
<A NAME="navbar_bottom_firstrow"><!-- --></A>
183
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
184
  <TR ALIGN="center" VALIGN="top">
185
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
186
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
187
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AccessionNumberException.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
188
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
189
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
190
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
191
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
192
  </TR>
193
</TABLE>
194
</TD>
195
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
196
</EM>
197
</TD>
198
</TR>
199

    
200
<TR>
201
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
202
&nbsp;PREV CLASS&nbsp;
203
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/AccessionNumberGeneratedException.html"><B>NEXT CLASS</B></A></FONT></TD>
204
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
205
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
206
&nbsp;<A HREF="AccessionNumberException.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
207
</TR>
208
<TR>
209
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
210
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
211
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
212
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
213
</TR>
214
</TABLE>
215
<!-- =========== END OF NAVBAR =========== -->
216

    
217
<HR>
218
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
219
</BODY>
220
</HTML>
(2-2/25)