]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added more thrown exceptions
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Aug 2015 19:42:00 +0000 (21:42 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Aug 2015 19:42:00 +0000 (21:42 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/category/BaseCategory.java

index dbc4fa51e42a66aba2d1f21169376a98e2c130a8..2a781dde6d2d6ba3cff9f0e10f4eb07656040859 100644 (file)
@@ -163,12 +163,29 @@ public class BaseCategory extends BaseFrameworkSystem implements Category {
        }
 
        @Override
-       public void setValueFromColumn (final String columnName, final String value) {
-               throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+       public void setValueFromColumn (final String columnName, final String value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
+               // Trace message
+               this.getLogger().trace(MessageFormat.format("columnName={0},value={1} - CALLED!", columnName, value));
+
+               // Call super method
+               this.setValueInStoreableFromColumn(this, "BaseCategory", columnName, value);
+
+               // Trace message
+               this.getLogger().trace("EXIT!");
        }
 
        @Override
        public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
-               throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+               // Trace message
+               this.getLogger().trace(MessageFormat.format("columnName={0} - CALLED!", columnName));
+
+               // Call super method
+               Object value = this.getValueInStoreableFromColumn(this, "BaseCategory", columnName);
+
+               // Trace message
+               this.getLogger().trace("value=" + value + " - EXIT!");
+
+               // Return value
+               return value;
        }
 }