Commits

Anonymous committed 1d51cfb

Improved error messages for propertyset

git-svn-id: http://svn.opensymphony.com/svn/propertyset/trunk@154bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

  • Participants
  • Parent commits 57ba8f6

Comments (0)

Files changed (1)

src/java/com/opensymphony/module/propertyset/ofbiz/DatePropertyHandler.java

             return input;
         }
 
-        throw new InvalidPropertyTypeException();
+        throw new InvalidPropertyTypeException("Could not recognize date type");
     }
 
     public Object processSet(int type, Object input) throws PropertyException {
             }
         }
 
-        throw new InvalidPropertyTypeException();
+        throw new InvalidPropertyTypeException("Cannot set a date type of " + type + " for input: " + input);
     }
 
     // Package protected ---------------------------------------------