001/* 002 * This file is part of the Jikes RVM project (http://jikesrvm.org). 003 * 004 * This file is licensed to You under the Eclipse Public License (EPL); 005 * You may not use this file except in compliance with the License. You 006 * may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/eclipse-1.0.php 009 * 010 * See the COPYRIGHT.txt file distributed with this work for information 011 * regarding copyright ownership. 012 */ 013package org.jikesrvm.compilers.opt; 014 015/** 016 * Use this exception when the opt compiler attempts to 017 * compile/optimize a method containing a currently 018 * unsupported (but expected) operation. 019 * The main intended use is in prototype/incomplete optimizations 020 * which may not handle every case, but which will eventually be 021 * extended to handle the excepting case. If the unsupported operation 022 * really is a serious problem, then one should use 023 * an OptimzingCompilerException. 024 * <p> 025 * We define this to be a non-fatal OptimizingCompilerException. 026 */ 027public class OperationNotImplementedException extends OptimizingCompilerException { 028 /** Support for exception serialization */ 029 static final long serialVersionUID = -7215437494493545076L; 030 031 public OperationNotImplementedException(String s) { 032 super(s, false); 033 } 034} 035 036 037