public static final class ChangeMethodSignatureArguments.ThrownException extends Object
ChangeMethodSignatureArguments.ThrownException are used to describe the new thrown
exceptions after a change method signature refactoring.| Constructor and Description |
|---|
ThrownException(int oldIndex,
String newSignature)
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOldIndex()
Returns the index of the thrown exception in the original method or
-1 if the thrown exception
has been added. |
String |
getType()
Returns the new type of the thrown exception in signature notation (See
Signature). |
String |
toString() |
public ThrownException(int oldIndex,
String newSignature)
oldIndex - the index of the thrown exception in the original method
or -1 if the thrown exception is a new thrown exception.newSignature - the new type of the thrown exception in signature notation
(See Signature).public int getOldIndex()
-1 if the thrown exception
has been added.-1 if the thrown exception
has been added.public String getType()
Signature).
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.