001 /***************************************************************************** 002 * Copyright (C) PicoContainer Organization. All rights reserved. * 003 * ------------------------------------------------------------------------- * 004 * The software in this package is published under the terms of the BSD * 005 * style license a copy of which has been included with this distribution in * 006 * the LICENSE.txt file. * 007 * * 008 * Original code by Centerline Computers, Inc. * 009 *****************************************************************************/ 010 package org.picocontainer.gems.util; 011 012 import org.picocontainer.PicoException; 013 014 /** 015 * Runtime exception version of {@link java.lang.NoSuchMethodException}. 016 * 017 * @author Michael Rimov 018 */ 019 @SuppressWarnings("serial") 020 public class NoSuchMethodRuntimeException extends PicoException { 021 022 023 /** 024 * 025 */ 026 public NoSuchMethodRuntimeException() { 027 super(); 028 } 029 030 /** 031 * @param message 032 */ 033 public NoSuchMethodRuntimeException(final String message) { 034 super(message); 035 } 036 037 /** 038 * @param cause 039 */ 040 public NoSuchMethodRuntimeException(final Throwable cause) { 041 super(cause); 042 } 043 044 /** 045 * @param message 046 * @param cause 047 */ 048 public NoSuchMethodRuntimeException(final String message, 049 final Throwable cause) { 050 super(message, cause); 051 } 052 053 }