@Override
    public final int getInt(final String key) {
        Integer result = optInt(key);
        if (result == null) {
            throw new ObjectMissingException(this, key);
        }
        return result;
    }
@ Override public final int getInt ( final String key ) { Integer result = optInt ( key ) ; if ( result == null ) { throw new ObjectMissingException ( this , key ) ; } return result ; }
Get a property as an int or throw an exception.

@param key the property name