Searched refs:NoSuchMethodException (Results 1 - 25 of 254) sorted by relevance

1234567891011

/openjdk7/jdk/src/share/classes/java/lang/
H A DNoSuchMethodException.java35 class NoSuchMethodException extends ReflectiveOperationException { class in inherits:ReflectiveOperationException
39 * Constructs a <code>NoSuchMethodException</code> without a detail message.
41 public NoSuchMethodException() { method in class:NoSuchMethodException
46 * Constructs a <code>NoSuchMethodException</code> with a detail message.
50 public NoSuchMethodException(String s) { method in class:NoSuchMethodException
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_lang_reflect_Method.java41 } catch (NoSuchMethodException exception) {
49 } catch (NoSuchMethodException exception) {
/openjdk7/jdk/src/share/classes/javax/script/
H A DInvocable.java55 * @throws NoSuchMethodException if method with given name or matching argument types cannot be found.
61 throws ScriptException, NoSuchMethodException;
70 * @throws NoSuchMethodException if method with given name or matching argument types cannot be found.
74 throws ScriptException, NoSuchMethodException;
/openjdk7/hotspot/test/compiler/6792161/
H A DTest6792161.java39 } catch (NoSuchMethodException e) {}
47 } catch (NoSuchMethodException e) {}
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DConstructorFinder.java53 * @throws NoSuchMethodException if constructor could not be found
56 public static Constructor<?> findConstructor(Class<?> type, Class<?>...args) throws NoSuchMethodException {
58 throw new NoSuchMethodException("Primitive wrapper does not contain constructors");
61 throw new NoSuchMethodException("Interface does not contain constructors");
64 throw new NoSuchMethodException("Abstract class cannot be instantiated");
67 throw new NoSuchMethodException("Class is not accessible");
H A DMethodFinder.java58 * @throws NoSuchMethodException if method could not be found
61 public static Method findMethod(Class<?> type, String name, Class<?>...args) throws NoSuchMethodException {
88 * @throws NoSuchMethodException if method could not be found
91 public static Method findInstanceMethod(Class<?> type, String name, Class<?>... args) throws NoSuchMethodException {
94 throw new NoSuchMethodException("Method '" + name + "' is static");
107 * @throws NoSuchMethodException if method could not be found
110 public static Method findStaticMethod(Class<?> type, String name, Class<?>...args) throws NoSuchMethodException {
113 throw new NoSuchMethodException("Method '" + name + "' is not static");
123 * @throws NoSuchMethodException if method is not accessible or is not found
126 public static Method findAccessibleMethod(Method method) throws NoSuchMethodException {
[all...]
/openjdk7/jdk/test/demo/jvmti/hprof/
H A DUseAllBytecodes.java252 catch (NoSuchMethodException e)
264 // Ultimately throws NoSuchMethodException
273 catch (NoSuchMethodException nsm)
280 public static void test_throw_nosuchmethod() throws NoSuchMethodException
282 throw new NoSuchMethodException();
290 public static void test_athrow5() throws NullPointerException, NoSuchMethodException
295 public static void test_athrow6() throws NullPointerException, NoSuchMethodException
300 public static void test_athrow7() throws NullPointerException, NoSuchMethodException
305 public static void test_athrow8() throws NullPointerException, NoSuchMethodException
/openjdk7/jdk/test/java/lang/Class/getMethod/
H A DNullInParamList.java27 * @summary Verify that NoSuchMethodException is thrown.
41 } catch (NoSuchMethodException x) {
44 throw new RuntimeException("FAIL: expected NoSuchMethodException");
H A DExceptions.java60 e.test(nsme[i], NoSuchMethodException.class);
/openjdk7/jdk/src/share/classes/sun/reflect/misc/
H A DConstructorUtil.java36 throws NoSuchMethodException {
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DCoroutineManager.java224 * @exception java.lang.NoSuchMethodException if thisCoroutine isn't
228 public synchronized Object co_entry_pause(int thisCoroutine) throws java.lang.NoSuchMethodException
231 throw new java.lang.NoSuchMethodException();
260 * @exception java.lang.NoSuchMethodException if toCoroutine isn't a
263 public synchronized Object co_resume(Object arg_object,int thisCoroutine,int toCoroutine) throws java.lang.NoSuchMethodException
266 throw new java.lang.NoSuchMethodException(XMLMessages.createXMLMessage(XMLErrorResources.ER_COROUTINE_NOT_AVAIL, new Object[]{Integer.toString(toCoroutine)})); //"Coroutine not available, id="+toCoroutine);
294 throw new java.lang.NoSuchMethodException(XMLMessages.createXMLMessage(XMLErrorResources.ER_COROUTINE_CO_EXIT, null)); //"CoroutineManager recieved co_exit() request");
329 * @exception java.lang.NoSuchMethodException if toCoroutine isn't a
332 public synchronized void co_exit_to(Object arg_object,int thisCoroutine,int toCoroutine) throws java.lang.NoSuchMethodException
335 throw new java.lang.NoSuchMethodException(XMLMessage
[all...]
/openjdk7/jdk/test/java/lang/reflect/Method/invoke/
H A DIllegalAccessInInvoke.java45 } catch (NoSuchMethodException nsme) {
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/
H A DTestMethod.java71 private NoSuchMethodException exception;
78 } else if (exception instanceof NoSuchMethodException) {
80 this.exception = (NoSuchMethodException) exception;
95 throw new Error("NoSuchMethodException expected");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DInvocableCallable.java54 } catch (NoSuchMethodException nme) {
/openjdk7/jdk/test/java/rmi/activation/Activatable/shutdownGracefully/
H A DShutdownGracefully_Stub.java38 } catch (java.lang.NoSuchMethodException e) {
/openjdk7/jdk/test/java/rmi/server/RemoteObject/notExtending/
H A DNotExtending_Stub.java51 } catch (java.lang.NoSuchMethodException e) {
/openjdk7/jdk/test/javax/script/
H A DCauseExceptionTest.java34 public static void main(String[] args) throws ScriptException, NoSuchMethodException {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/
H A DInvoker.java112 } catch (NoSuchMethodException e) {
122 } catch (NoSuchMethodException e) {
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DPropertyElementHandler.java168 * @throws NoSuchMethodException if the getter is not found
170 private static Object getPropertyValue(Object bean, String name, Integer index) throws IllegalAccessException, IntrospectionException, InvocationTargetException, NoSuchMethodException {
193 * @throws NoSuchMethodException if the setter is not found
195 private static void setPropertyValue(Object bean, String name, Integer index, Object value) throws IllegalAccessException, IntrospectionException, InvocationTargetException, NoSuchMethodException {
219 * @throws NoSuchMethodException if method is not found
221 private static Method findGetter(Class<?> type, String name, Class<?>...args) throws IntrospectionException, NoSuchMethodException {
250 * @throws NoSuchMethodException if method is not found
252 private static Method findSetter(Class<?> type, String name, Class<?>...args) throws IntrospectionException, NoSuchMethodException {
/openjdk7/jdk/test/java/beans/EventHandler/
H A DTest6277246.java50 catch (NoSuchMethodException exception) {
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest6311051.java38 public static void main(String[] args) throws IntrospectionException, NoSuchMethodException {
/openjdk7/jdk/test/java/lang/Class/getDeclaredMethod/
H A DExceptions.java60 e.test(nsme[i], NoSuchMethodException.class);
/openjdk7/jdk/test/java/rmi/activation/Activatable/downloadParameterClass/
H A DFooReceiverImpl_Stub.java38 } catch (java.lang.NoSuchMethodException e) {
/openjdk7/jdk/test/java/rmi/activation/Activatable/extLoadedImpl/
H A DExtLoadedImpl_Stub.java38 } catch (java.lang.NoSuchMethodException e) {
/openjdk7/langtools/test/tools/javac/FloatingPointChanges/
H A DTest.java40 public static void main(String[] args) throws NoSuchMethodException {

Completed in 108 milliseconds

1234567891011