iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/StubStrategy.java
public boolean isDeclaredException(Throwable t) {
        Iterator<Class<?>> iterator = exceptionList.iterator();
        while (iterator.hasNext()) {
            if (((Class<?>) iterator.next()).isInstance(t)) {
                return true;
            }
        }
        return false;
    }
public boolean isDeclaredException(Throwable t) {
        Iterator<Class<?>> iterator = exceptionList.iterator();
        while (iterator.hasNext()) {
            if (((Class<?>) iterator.next()).isInstance(t)) {
                return true;
            }
        }
        return false;
    }
public boolean isDeclaredException ( Throwable t ) { Iterator < Class < ? > > iterator = exceptionList . iterator ( ) ; while ( iterator . hasNext ( ) ) { if ( ( ( Class < ? > ) iterator . next ( ) ) . isInstance ( t ) ) { return true ; } } return false ; }
Checks if a given <code>Throwable</code> instance corresponds to an
exception declared by this <code>StubStrategy</code>'s method.

@param t an exception class
@return true if <code>t</code> is an instance of any of the
exceptions declared by this <code>StubStrategy</code>'s
method, false otherwise.
Checks if a given <code > Throwable< / code > instance corresponds to an exception declared by this <code > StubStrategy< / code > s method .