Examples of addWarningDetails()


Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                  new Object[] {compName.toString()}));
                                            result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".debug1",
                  "For EJB Class [ {0} ] Finder method [ {1} ]",
                  new Object[] {descriptor.getEjbClassName(),ejbFinderMethods[j].getName()}));
                                            result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".warning",
                  "Error: Compatibility Note:" +
                  "\n An [ {0} ] method was found, but" +
                  "\n EJB 1.0 allowed the ejbFind<METHOD> method to throw the " +
                  "\n java.rmi.RemoteException to indicate a non-application" +
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

        // walk up the class tree
      if(!(superClass.getName()).equals("java.lang.Object")) {
      if (!isValidSerializableType(superClass) &&
          !isTimedObject(superClass)) {
          validBean = false;
          result.addWarningDetails(smh.getLocalString
                 ("tests.componentNameConstructor",
                  "For [ {0} ]",
                  new Object[] {compName.toString()}));
          result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".failed1",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          validBean = false;
          result.addWarningDetails(smh.getLocalString
                 ("tests.componentNameConstructor",
                  "For [ {0} ]",
                  new Object[] {compName.toString()}));
          result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".failed1",
                  "[ {0} ] extends class [ {1} ] which is not serializable. ",
                  new Object[] {descriptor.getEjbClassName(),superClass.getName()}));
          result.setStatus(Result.WARNING);
          return result;
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                            new Object[] {interfaces[i].getName()});

            if (!isValidSerializableType(interfaces[i])
           && !isTimedObject(interfaces[i])) {
          validBean = false;
          result.addWarningDetails(smh.getLocalString
                 ("tests.componentNameConstructor",
                  "For [ {0} ]",
                  new Object[] {compName.toString()}));
          result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".failed",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          validBean = false;
          result.addWarningDetails(smh.getLocalString
                 ("tests.componentNameConstructor",
                  "For [ {0} ]",
                  new Object[] {compName.toString()}));
          result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".failed",
               "[ {0} ] implements interface [ {1} ] which is not serializable. ",
               new Object[] {descriptor.getEjbClassName(),interfaces[i].getName()}));
          result.setStatus(Result.WARNING);
          break;
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

        result.addGoodDetails(smh.getLocalString
                  (getClass().getName() + ".passed",
                   "[ {0} ] properly declares [ {1} ] method which does not throw java.rmi.RemoteException.",
                   new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
          } else if (ejbCreateFound && throwsRemoteException) {
        result.addWarningDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".debug1",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          } else if (ejbCreateFound && throwsRemoteException) {
        result.addWarningDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".debug1",
                "For EJB Class [ {0} ] method [ {1} ]",
                new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".warning",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

               new Object[] {compName.toString()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".debug1",
                "For EJB Class [ {0} ] method [ {1} ]",
                new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".warning",
                "Error: Compatibility Note:" +
                "\n An [ {0} ] method was found, but" +
                "\n EJB 1.0 allowed the ejbCreate method to throw the " +
                "\n java.rmi.RemoteException to indicate a non-application" +
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          result.failed(smh.getLocalString
            (getClass().getName() + ".failedException",
             "Error: [ {0} ] class or [ {1} ] class not found.",
             new Object[] {((EjbEntityDescriptor)descriptor).getPrimaryKeyClassName(),((EjbEntityDescriptor)descriptor).getEjbClassName()}));
                        } catch (Throwable t) {
          result.addWarningDetails(smh.getLocalString
               ("tests.componentNameConstructor",
          "For [ {0} ]",
          new Object[] {compName.toString()}));
                            result.warning(smh.getLocalString
                                (getClass().getName() + ".warningException",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

        result.addGoodDetails(smh.getLocalString
                  (getClass().getName() + ".passed",
                   " [ {0} ] properly declares [ {1} ] method which properly does not throw java.rmi.RemoteException.",
                   new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
          } else if (ejbCreateFound && throwsRemoteException) {
        result.addWarningDetails(smh.getLocalString
                  ("tests.componentNameConstructor",
                   "For [ {0} ]",
                   new Object[] {compName.toString()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".debug1",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.