equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
393 throw new UnsupportedOperationException( |
393 throw new UnsupportedOperationException( |
394 "changes to class modifiers not implemented"); |
394 "changes to class modifiers not implemented"); |
395 case JDWP.Error.METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED : |
395 case JDWP.Error.METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED : |
396 throw new UnsupportedOperationException( |
396 throw new UnsupportedOperationException( |
397 "changes to method modifiers not implemented"); |
397 "changes to method modifiers not implemented"); |
|
398 case JDWP.Error.CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED : |
|
399 throw new UnsupportedOperationException( |
|
400 "changes to class attribute not implemented"); |
398 case JDWP.Error.NAMES_DONT_MATCH : |
401 case JDWP.Error.NAMES_DONT_MATCH : |
399 throw new NoClassDefFoundError( |
402 throw new NoClassDefFoundError( |
400 "class names do not match"); |
403 "class names do not match"); |
401 default: |
404 default: |
402 throw exc.toJDIException(); |
405 throw exc.toJDIException(); |