1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.5.0_16) on Sat Jan 23 11:55:17 GMT 2010 -->
10
<META NAME="keywords" CONTENT="org.simpleframework.xml.core.ValueRequiredException class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="ValueRequiredException";
25
<BODY BGCOLOR="white" onload="windowTitle();">
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="">
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>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
<A HREF="../../../../org/simpleframework/xml/core/Validate.html" title="annotation in org.simpleframework.xml.core"><B>PREV CLASS</B></A>
55
NEXT CLASS</FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
<A HREF="../../../../index.html?org/simpleframework/xml/core/ValueRequiredException.html" target="_top"><B>FRAMES</B></A>
58
<A HREF="ValueRequiredException.html" target="_top"><B>NO FRAMES</B></A>
59
<SCRIPT type="text/javascript">
62
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
84
<!-- ======== START OF CLASS DATA ======== -->
87
org.simpleframework.xml.core</FONT>
89
Class ValueRequiredException</H2>
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 "><A HREF="../../../../org/simpleframework/xml/core/PersistenceException.html" title="class in org.simpleframework.xml.core">org.simpleframework.xml.core.PersistenceException</A>
95
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.simpleframework.xml.core.ValueRequiredException</B>
98
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
102
<DT><PRE>public class <B>ValueRequiredException</B><DT>extends <A HREF="../../../../org/simpleframework/xml/core/PersistenceException.html" title="class in org.simpleframework.xml.core">PersistenceException</A></DL>
106
The <code>ValueRequiredException</code> is thrown when an attribute
107
or element is missing from the XML document. This is thrown only if
108
the attribute or element is required according to the annotation
109
for that field within the XML schema class.
114
<DT><B>Author:</B></DT>
115
<DD>Niall Gallagher</DD>
116
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.simpleframework.xml.core.ValueRequiredException">Serialized Form</A></DL>
121
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
123
<A NAME="constructor_summary"><!-- --></A>
124
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127
<B>Constructor Summary</B></FONT></TH>
129
<TR BGCOLOR="white" CLASS="TableRowColor">
130
<TD><CODE><B><A HREF="../../../../org/simpleframework/xml/core/ValueRequiredException.html#ValueRequiredException(java.lang.String, java.lang.Object...)">ValueRequiredException</A></B>(java.lang.String text,
131
java.lang.Object... list)</CODE>
134
Constructor for the <code>ValueRequiredException</code> object.</TD>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD><CODE><B><A HREF="../../../../org/simpleframework/xml/core/ValueRequiredException.html#ValueRequiredException(java.lang.Throwable, java.lang.String, java.lang.Object...)">ValueRequiredException</A></B>(java.lang.Throwable cause,
138
java.lang.String text,
139
java.lang.Object... list)</CODE>
142
Constructor for the <code>ValueRequiredException</code> object.</TD>
146
<!-- ========== METHOD SUMMARY =========== -->
148
<A NAME="method_summary"><!-- --></A>
149
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
152
<B>Method Summary</B></FONT></TH>
155
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
156
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
158
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
164
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
165
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
167
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
176
<!-- ========= CONSTRUCTOR DETAIL ======== -->
178
<A NAME="constructor_detail"><!-- --></A>
179
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
180
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
181
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
182
<B>Constructor Detail</B></FONT></TH>
186
<A NAME="ValueRequiredException(java.lang.String, java.lang.Object...)"><!-- --></A><H3>
187
ValueRequiredException</H3>
189
public <B>ValueRequiredException</B>(java.lang.String text,
190
java.lang.Object... list)</PRE>
192
<DD>Constructor for the <code>ValueRequiredException</code> object.
193
This constructor takes a format string an a variable number of
194
object arguments, which can be inserted into the format string.
197
<DT><B>Parameters:</B><DD><CODE>text</CODE> - a format string used to present the error message<DD><CODE>list</CODE> - a list of arguments to insert into the string</DL>
201
<A NAME="ValueRequiredException(java.lang.Throwable, java.lang.String, java.lang.Object...)"><!-- --></A><H3>
202
ValueRequiredException</H3>
204
public <B>ValueRequiredException</B>(java.lang.Throwable cause,
205
java.lang.String text,
206
java.lang.Object... list)</PRE>
208
<DD>Constructor for the <code>ValueRequiredException</code> object.
209
This constructor takes a format string an a variable number of
210
object arguments, which can be inserted into the format string.
213
<DT><B>Parameters:</B><DD><CODE>cause</CODE> - the source exception this is used to represent<DD><CODE>text</CODE> - a format string used to present the error message<DD><CODE>list</CODE> - a list of arguments to insert into the string</DL>
215
<!-- ========= END OF CLASS DATA ========= -->
219
<!-- ======= START OF BOTTOM NAVBAR ====== -->
220
<A NAME="navbar_bottom"><!-- --></A>
221
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
222
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
224
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
225
<A NAME="navbar_bottom_firstrow"><!-- --></A>
226
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
227
<TR ALIGN="center" VALIGN="top">
228
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
229
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
230
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
231
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
232
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
233
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
234
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
238
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
244
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
245
<A HREF="../../../../org/simpleframework/xml/core/Validate.html" title="annotation in org.simpleframework.xml.core"><B>PREV CLASS</B></A>
246
NEXT CLASS</FONT></TD>
247
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
248
<A HREF="../../../../index.html?org/simpleframework/xml/core/ValueRequiredException.html" target="_top"><B>FRAMES</B></A>
249
<A HREF="ValueRequiredException.html" target="_top"><B>NO FRAMES</B></A>
250
<SCRIPT type="text/javascript">
253
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
258
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
265
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
266
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
267
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
268
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
271
<A NAME="skip-navbar_bottom"></A>
272
<!-- ======== END OF BOTTOM NAVBAR ======= -->