Package org.eclipse.imp.pdb.facts.exceptions

Examples of org.eclipse.imp.pdb.facts.exceptions.IllegalOperationException


    throw new IllegalOperationException("subtract over buffered relation", getType());
  }

  @Override
  public ISet delete(IValue elem) {
    throw new IllegalOperationException("delete over buffered relation", getType());
  }
View Full Code Here


    throw new IllegalOperationException("delete over buffered relation", getType());
  }

  @Override
  public ISet product(ISet set) {
    throw new IllegalOperationException("product over buffered relation", getType());
  }
View Full Code Here

    throw new IllegalOperationException("product over buffered relation", getType());
  }

  @Override
  public boolean isSubsetOf(ISet other) {
    throw new IllegalOperationException("subset over buffered relation", getType());
  }
View Full Code Here

    return false;
  }

  @Override
  public ISetRelation<ISet> asRelation() {
    throw new IllegalOperationException(
        "Relational operations are not supported on lazy representation.",
        getType());
  }
View Full Code Here

    return false;
  }

  @Override
  public IAnnotatable<? extends IValue> asAnnotatable() {
    throw new IllegalOperationException(
        "Cannot be viewed as annotatable.", getType());
  }
View Full Code Here

     return false;
   }
  
   @Override
   public IWithKeywordParameters<? extends IValue> asWithKeywordParameters() {
     throw new IllegalOperationException(
         "Cannot be viewed as with keyword parameters", getType());
   }
View Full Code Here

    return false;
  }
 
  @Override
  public IWithKeywordParameters<? extends IValue> asWithKeywordParameters() {
    throw new IllegalOperationException(
        "Cannot be viewed as with keyword parameters", getType());
  }
View Full Code Here

    } else if (base.isAbstractData()) {
      return tf.tupleType(tf.stringType(), tf.valueType());
    } else if (base.isTop() || base.isRational()) {
      return base;
    } else {
      throw new IllegalOperationException("getElementType", expected);
    }
  }
View Full Code Here

            newAlternatives.add((FunctionType) RTF.functionType(gtype.getReturnType(), ftype.getArgumentTypes(), ftype.getKeywordParameterTypes()));
          }
        }
      }
    } else {
      throw new IllegalOperationException("compose", this, right);
    }
    if(!newAlternatives.isEmpty())
      return RTF.overloadedFunctionType(newAlternatives);
    return TF.voidType();
  }
View Full Code Here

        if(TF.tupleType(ftype.getReturnType()).isSubtypeOf(this.argumentTypes)) {
          newAlternatives.add((FunctionType) RTF.functionType(this.returnType, ftype.getArgumentTypes(), ftype.keywordParameters));
        }
      }
    } else {
      throw new IllegalOperationException("compose", this, right);
    }
    if(!newAlternatives.isEmpty())
      return RTF.overloadedFunctionType(newAlternatives);
    return TF.voidType();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.imp.pdb.facts.exceptions.IllegalOperationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.