+1
Good stuf Rich.

--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: cvs commit: xml-axis/java/src/org/apache/axis/types Day.java
Month.java MonthDay.java NCName.java NMToken.java Name.java
NormalizedString.java Token.java UnsignedByte.java UnsignedInt.java
UnsignedLong.java UnsignedShort.java Year.java YearMonth.java


scheu       2002/09/24 08:23:12

  Modified:    java/src/org/apache/axis/types Day.java Month.java
                        MonthDay.java NCName.java NMToken.java Name.java
                        NormalizedString.java Token.java UnsignedByte.java
                        UnsignedInt.java UnsignedLong.java
                        UnsignedShort.java Year.java YearMonth.java
  Log:
  The specialized types are changed to consistently throw
  IllegalArgumentException or NumberFormatException (i.e. RuntimeExceptions)
  when erroneous values are used to construct or set the object.
  
  This makes the types consistent with the wrapper types (like Integer)
  which thrown an IllegalArgumentException when an attempt is made to construct
  with an illegal value.
  
  *Note: These java classes could use some improved javadocs!
  

Reply via email to