You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mirae-dev@ws.apache.org by ia...@apache.org on 2006/01/09 05:23:43 UTC
svn commit: r367191 -
/webservices/mirae/trunk/src/mirae/ws/javax/microedition/xml/rpc/Element.java
Author: ias
Date: Sun Jan 8 20:23:41 2006
New Revision: 367191
URL: http://svn.apache.org/viewcvs?rev=367191&view=rev
Log:
Sync the signature to the spec.
Modified:
webservices/mirae/trunk/src/mirae/ws/javax/microedition/xml/rpc/Element.java
Modified: webservices/mirae/trunk/src/mirae/ws/javax/microedition/xml/rpc/Element.java
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/src/mirae/ws/javax/microedition/xml/rpc/Element.java?rev=367191&r1=367190&r2=367191&view=diff
==============================================================================
--- webservices/mirae/trunk/src/mirae/ws/javax/microedition/xml/rpc/Element.java (original)
+++ webservices/mirae/trunk/src/mirae/ws/javax/microedition/xml/rpc/Element.java Sun Jan 8 20:23:41 2006
@@ -53,7 +53,7 @@
* @param name - the QName of this element
* @param type - the Type of this element's content
*/
- public Element(QName name, Type type) {
+ public Element(QName name, Type type) throws IllegalArgumentException {
this(name, type, 1, 1, false);
}
@@ -65,7 +65,7 @@
* @param maxOccurs - indicates the maximum number of times this element can occur. A value > 1 or equal to UNBOUNDED indicates this element is an array.
* @param nillable - indicates if this element may have the xsd:nil attribute equal true.
*/
- public Element(QName name, Type type, int minOccurs, int maxOccurs, boolean nillable) {
+ public Element(QName name, Type type, int minOccurs, int maxOccurs, boolean nillable) throws IllegalArgumentException {
super(9);
if (name == null) {
throw new IllegalArgumentException("invalid name");
---------------------------------------------------------------------
To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: mirae-dev-help@ws.apache.org