Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core.refactoring.participants
Class ChangeMethodSignatureArguments.ThrownException


java.lang.Object
  extended by 
org.eclipse.jdt.core.refactoring.participants.ChangeMethodSignatureArguments.ThrownException
Enclosing class:
ChangeMethodSignatureArguments

public static final class ChangeMethodSignatureArguments.ThrownException
extends Object

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

ChangeMethodSignatureArguments.ThrownException

public ChangeMethodSignatureArguments.ThrownException(int oldIndex,
                                                      
String newSignature)
Creates a ChangeMethodSignatureArguments.ThrownException.

Parameters:
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

getOldIndex

public int getOldIndex()
Returns the index of the thrown exception in the original method or -1 if the thrown exception has been added.

Returns:
the index of the parameter in the original method or -1 if the thrown exception has been added.

getType

public 
String getType()
Returns the new type of the thrown exception in signature notation (See Signature).

Returns:
the the new type

toString

public 
String toString()
Overrides:
toString in class Object

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire