private void addPatternsToRequest (String[] patterns, StepRequest stepRequest) throws InternalExceptionWrapper, VMDisconnectedExceptionWrapper { if (stepRequest == null) return; int i, k = patterns.length; for (i = 0; i < k; i++) { try { StepRequestWrapper.addClassExclusionFilter(stepRequest, patterns [i]); } catch (InvalidRequestStateException irex) { // The request is gone - ignore return ; } smartLogger.log(Level.FINER, " add pattern: {0}", patterns[i]); } }
InvalidRequestStateException invalidState() { return new InvalidRequestStateException(toString()); }