* @return Value from field
* @throws IllegalArgumentException Some implementations may throw this.
* @throws NoSuchMethodException Some implementations may throw this.
+ * @throws java.lang.IllegalAccessException If the method cannot be accessed
+ * @throws java.lang.reflect.InvocationTargetException Any other problems?
*/
@Override
- public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException {
+ public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
throw new UnsupportedOperationException(MessageFormat.format("Not implemented. columnName={0}", columnName)); //NOI18N
}
* @param bool Boolean value
* @return Whether all conditions are met
* @throws NoSuchMethodException May be thrown by some implementations
+ * @throws java.lang.IllegalAccessException If the method cannot be accessed
+ * @throws java.lang.reflect.InvocationTargetException Any other problems?
*/
@Override
- public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException {
+ public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Not implemented
throw new UnsupportedOperationException(MessageFormat.format("Not implemented. columnName={0},bool={1}", columnName, bool)); //NOI18N
}
* @param className Class name to iterate over
* @return An iterator over all object's fields
* @throws java.lang.NoSuchMethodException If the called method does not exist
+ * @throws java.lang.IllegalAccessException If the method cannot be accessed
+ * @throws java.lang.reflect.InvocationTargetException Any other problems?
*/
- protected Iterator<Map.Entry<Field, Object>> fieldIterator (final FrameworkInterface instance, final String className) throws IllegalArgumentException, NoSuchMethodException {
+ protected Iterator<Map.Entry<Field, Object>> fieldIterator (final FrameworkInterface instance, final String className) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Trace message
this.getLogger().trace(MessageFormat.format("instance={0},className={1} - CALLED!", instance, className)); //NOI18N
*/
package org.mxchange.jcore;
+import java.lang.reflect.InvocationTargetException;
import org.apache.logging.log4j.Logger;
import org.mxchange.jcore.application.Application;
import org.mxchange.jcore.client.Client;
* @param bool Boolean value
* @return Whether all conditions are met
* @throws java.lang.NoSuchMethodException If called method was not found
+ * @throws java.lang.IllegalAccessException If the method cannot be accessed
+ * @throws java.lang.reflect.InvocationTargetException Any other problems?
*/
- public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException;
+ public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;
/**
* Some "getter for a value from given column name. This name will be
* @return Value from field
* @throws IllegalArgumentException Some implementations may throw this
* @throws java.lang.NoSuchMethodException If the invoked method was not found
+ * @throws java.lang.IllegalAccessException If the method cannot be accessed
+ * @throws java.lang.reflect.InvocationTargetException Any other problems?
*/
- public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException;
+ public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException;
}
package org.mxchange.jcore.contact;
import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
import java.text.MessageFormat;
import java.util.Iterator;
import java.util.Map;
* @return Value from field
*/
@Override
- public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException {
+ public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Trace message
this.getLogger().trace(MessageFormat.format("columnName={0} - CALLED!", columnName));
* @return Whether all conditions are met
*/
@Override
- public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException {
+ public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Trace message
this.getLogger().trace(MessageFormat.format("columnName={0},bool={1} - CALLED!", columnName, bool));
* @return An iterator
*/
@Override
- public Iterator<Map.Entry<Field, Object>> iterator () throws NoSuchMethodException {
+ public Iterator<Map.Entry<Field, Object>> iterator () throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
return this.fieldIterator(this, "BaseContact");
}
package org.mxchange.jcore.contact;
import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
import java.util.Iterator;
import java.util.Map;
import org.mxchange.jcore.FrameworkInterface;
*
* @return An iterator
* @throws java.lang.NoSuchMethodException If the invoked method was not found
+ * @throws java.lang.IllegalAccessException If the method cannot be accessed
+ * @throws java.lang.reflect.InvocationTargetException Any other problems?
*/
- public Iterator<Map.Entry<Field, Object>> iterator ()throws NoSuchMethodException;
+ public Iterator<Map.Entry<Field, Object>> iterator ()throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;
/**
* Some "getter" for translated gender of the contact