dgraham     2003/09/01 21:45:23

  Modified:    mapper/src/share/org/apache/commons/mapper
                        MapperAdapter.java
  Log:
  Changed exception messages.
  
  Revision  Changes    Path
  1.4       +10 -10    
jakarta-commons-sandbox/mapper/src/share/org/apache/commons/mapper/MapperAdapter.java
  
  Index: MapperAdapter.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/mapper/src/share/org/apache/commons/mapper/MapperAdapter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MapperAdapter.java        28 Aug 2003 00:11:36 -0000      1.3
  +++ MapperAdapter.java        2 Sep 2003 04:45:23 -0000       1.4
  @@ -65,8 +65,8 @@
   
   /**
    * A default implementation of the Mapper interface that throws 
  - * UnsupportedOperationExceptions for all methods.  This makes it easy to define
  - * an anonymous inner class Mapper implementation.
  + * <code>UnsupportedOperationExceptions</code> for all methods.  This 
  + * makes it easy to define an anonymous inner class Mapper implementation.
    * 
    * @author David Graham
    */
  @@ -83,21 +83,21 @@
        * @see org.apache.commons.mapper.Mapper#create(java.lang.Object)
        */
       public Object create(Object object) throws MapperException {
  -        throw new UnsupportedOperationException("This mapper does not support 
create().");
  +        throw new UnsupportedOperationException("create() not supported.");
       }
   
       /**
        * @see org.apache.commons.mapper.Mapper#findByUniqueId(java.lang.Object)
        */
       public Object findByUniqueId(Object id) throws MapperException {
  -        throw new UnsupportedOperationException("This mapper does not support 
findByUniqueID().");
  +        throw new UnsupportedOperationException("findByUniqueId() not supported .");
       }
   
       /**
        * @see org.apache.commons.mapper.Mapper#delete(java.lang.Object)
        */
       public void delete(Object object) throws MapperException {
  -        throw new UnsupportedOperationException("This mapper does not support 
delete().");
  +        throw new UnsupportedOperationException("delete() not supported.");
   
       }
   
  @@ -105,7 +105,7 @@
        * @see org.apache.commons.mapper.Mapper#update(java.lang.Object)
        */
       public void update(Object object) throws MapperException {
  -        throw new UnsupportedOperationException("This mapper does not support 
update().");
  +        throw new UnsupportedOperationException("update() not supported.");
   
       }
   
  @@ -113,7 +113,7 @@
        * @see org.apache.commons.mapper.Mapper#findAllObjects()
        */
       public Collection findAllObjects() throws MapperException {
  -        throw new UnsupportedOperationException("This mapper does not support 
findAllObjects().");
  +        throw new UnsupportedOperationException("findAllObjects() not supported.");
       }
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to