AmbiguityException.java
Go to the documentation of this file.
00001 package instruction.exceptions;
00002 
00003 import instruction.semanticObjects.Word;
00004 
00005 public class AmbiguityException extends Exception {
00006         
00007         private static final long serialVersionUID = -6383964812984392010L;
00008         private Word ambiguousWord;
00009         
00010         public AmbiguityException(String msg) {
00011                 super(msg);
00012         }
00013         
00014         public AmbiguityException(String msg, Word word) {
00015                 super(msg);
00016                 ambiguousWord = word;
00017         }
00018         
00023         public Word getAmbiguousWord() {
00024                 return ambiguousWord;
00025         }
00026 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:02