|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.refactoring.participants.ChangeMethodSignatureArguments.ThrownException
public static final class ChangeMethodSignatureArguments.ThrownException
Instances of ChangeMethodSignatureArguments.ThrownException
are used to describe the new thrown
exceptions after a change method signature refactoring.
Constructor Summary | |
---|---|
ChangeMethodSignatureArguments.ThrownException(int oldIndex,
String newSignature)
Creates a ChangeMethodSignatureArguments.ThrownException . |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeMethodSignatureArguments.ThrownException(int oldIndex, String newSignature)
ChangeMethodSignatureArguments.ThrownException
.
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
).Method Detail |
---|
public int getOldIndex()
-1
if the thrown exception
has been added.
-1
if the thrown exception
has been added.public String getType()
Signature
).
public String toString()
toString
in class Object
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.