Java 类com.sun.jdi.request.InvalidRequestStateException 实例源码

项目:incubator-netbeans    文件:StepIntoNextMethod.java   
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]);
    }
}
项目:openjdk-jdk10    文件:EventRequestManagerImpl.java   
InvalidRequestStateException invalidState() {
    return new InvalidRequestStateException(toString());
}