Package org.fcrepo.server.errors

Examples of org.fcrepo.server.errors.MethodNotFoundException


        for (MethodDef element : methods) {
            if (element.methodName.equalsIgnoreCase(methodName)) {
                return element.methodParms;
            }
        }
        throw new MethodNotFoundException("[getParms] The service deployment object, "
                + m_obj.getPid()
                + ", does not have a service method named '"
                + methodName);
    }
View Full Code Here


                        + ". The message "
                        + "was \""
                        + e.getMessage() + "\"");
            }
        }
        throw new MethodNotFoundException("[DynamicAccessImpl] The object, "
                + PID + " does not have the dynamic Service Definition "
                + sDefPID);
    }
View Full Code Here

            method =
                    service_object.getClass().getMethod(methodName,
                                                        parmClassTypes);
            return method.invoke(service_object, parmValues);
        } catch (Exception e) {
            throw new MethodNotFoundException("Error executing method: "
                    + methodName, e);
        }
    }
View Full Code Here

                operationLocation = element.operationLocation;
                protocolType = element.protocolType;
            }
        }
        if (!foundMethod) {
            throw new MethodNotFoundException("Method " + methodName
                                              + " was not found in " + bmReader.GetObjectPID()
                                              + "'s operation " + " binding.");
        }

        DeploymentDSBindSpec dsBindSpec =
View Full Code Here

                                    ServiceDefinitionReader sDefReader,
                                    Date versDateTime)
            throws MethodNotFoundException, ServerException {
        if (sDefPID.equalsIgnoreCase("fedora-system:1")
            || sDefPID.equalsIgnoreCase("fedora-system:3")) {
            throw new MethodNotFoundException("[getObjectMethods] The object, "
                                              + m_obj.getPid()
                                              + ", will not report on dynamic method definitions "
                                              + "at this time (fedora-system:1 and fedora-system:3.");
        }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.errors.MethodNotFoundException

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.