~vil/pydev/upstream

« back to all changes in this revision

Viewing changes to org.python.pydev/src/org/python/pydev/editor/refactoring/TooManyMatchesException.java

  • Committer: Vladimír Lapáček
  • Date: 2006-08-30 18:38:44 UTC
  • Revision ID: vladimir.lapacek@gmail.com-20060830183844-f4d82c1239a7770a
Initial import of upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.python.pydev.editor.refactoring;
 
2
 
 
3
public class TooManyMatchesException extends RuntimeException {
 
4
 
 
5
        private int matches;
 
6
 
 
7
        public TooManyMatchesException(String msg, int matches) {
 
8
                super(msg);
 
9
                this.setMatches(matches);
 
10
        }
 
11
 
 
12
        public void setMatches(int matches) {
 
13
                this.matches = matches;
 
14
        }
 
15
 
 
16
        public int getMatches() {
 
17
                return matches;
 
18
        }
 
19
 
 
20
}