ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulRemoveInterceptor.java
private boolean isApplicationException(final EJBComponent ejbComponent, final Class<?> exceptionClass, final Method invokedMethod) {
        return ejbComponent.getApplicationException(exceptionClass, invokedMethod) != null;
    }
private boolean isApplicationException(final EJBComponent ejbComponent, final Class<?> exceptionClass, final Method invokedMethod) {
        return ejbComponent.getApplicationException(exceptionClass, invokedMethod) != null;
    }
Returns true if the passed <code>exceptionClass</code> is an application exception. Else returns false.

@param ejbComponent   The EJB component
@param exceptionClass The exception class
@return