< prev index next >

src/java.compiler/share/classes/javax/lang/model/type/UnknownTypeException.java

Print this page




  60     public UnknownTypeException(TypeMirror t, Object p) {
  61         super("Unknown type: " + t);
  62         type = t;
  63         this.parameter = p;
  64     }
  65 
  66     /**
  67      * Returns the unknown type.
  68      * The value may be unavailable if this exception has been
  69      * serialized and then read back in.
  70      *
  71      * @return the unknown type, or {@code null} if unavailable
  72      */
  73     public TypeMirror getUnknownType() {
  74         return type;
  75     }
  76 
  77     /**
  78      * Returns the additional argument.
  79      *
  80      * @return the additional argument
  81      */
  82     public Object getArgument() {
  83         return parameter;
  84     }
  85 }


  60     public UnknownTypeException(TypeMirror t, Object p) {
  61         super("Unknown type: " + t);
  62         type = t;
  63         this.parameter = p;
  64     }
  65 
  66     /**
  67      * Returns the unknown type.
  68      * The value may be unavailable if this exception has been
  69      * serialized and then read back in.
  70      *
  71      * @return the unknown type, or {@code null} if unavailable
  72      */
  73     public TypeMirror getUnknownType() {
  74         return type;
  75     }
  76 
  77     /**
  78      * Returns the additional argument.
  79      *
  80      * @return the additional argument, or {@code null} if unavailable
  81      */
  82     public Object getArgument() {
  83         return parameter;
  84     }
  85 }
< prev index next >