entlicher commented on a change in pull request #3119:
URL: https://github.com/apache/netbeans/pull/3119#discussion_r695960220



##########
File path: 
ide/spi.debugger.ui/src/org/netbeans/spi/debugger/ui/DebuggingView.java
##########
@@ -508,6 +508,36 @@ default String getSourceMimeType() {
          * @since 2.65
          */
         int getColumn();
+
+        /**
+         * Pop all frames up to and including this frame off the stack.
+         *
+         * @throws UnsupportedOperationException thrown when popping of stack 
frames is not supported.
+         * @throws PopException when the pop frame operation fails.
+         * @since 2.70
+         */
+        default void popOff() throws UnsupportedOperationException, 
PopException {
+            throw new UnsupportedOperationException("The frame pop is not 
supported.");

Review comment:
       The two exceptions allow the clients to distinguish whether pop frame is 
supported or not. The UI feedback to the user might differ.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to