Examples of error()


Examples of com.sun.tools.ws.processor.modeler.wsdl.ConsoleErrorReporter.error()

                out.println(msg);
            }

            @Override
            public void error(SAXParseException exception) {
                cer.error(exception);
            }

            @Override
            public void fatalError(SAXParseException exception) {
                cer.fatalError(exception);
View Full Code Here

Examples of com.sun.tools.ws.wscompile.ErrorReceiverFilter.error()

          Set<FileInfo> wsFiles = wsClientModule.generate(wsCodeGenModel, cgConfig);
         
          targetFiles.addAll(typeFiles);
          targetFiles.addAll(wsFiles);
        } catch (XjcModuleException e1) {
          receiver.error(e1);
          return false;
        } catch (WscModuleException e1) {
          receiver.error(e1);
          return false;
        }
View Full Code Here

Examples of com.sun.tools.xjc.ConsoleErrorReporter.error()

              .unmarshalPackageMapping(customization.element);
          // TODO check parameters
          packageMappings.put(packageMapping.getPackageName(),
              packageMapping);
        } catch (JAXBException jaxbex) {
          errorReceiver.error(new SAXParseException(
              "Could not unmarshal the customization element.",
              customization.locator, jaxbex));
        }
      }
    }
View Full Code Here

Examples of com.sun.tools.xjc.ErrorReceiver.error()

              .unmarshalPackageMapping(customization.element);
          // TODO check parameters
          packageMappings.put(packageMapping.getPackageName(),
              packageMapping);
        } catch (JAXBException jaxbex) {
          errorReceiver.error(new SAXParseException(
              "Could not unmarshal the customization element.",
              customization.locator, jaxbex));
        }
      }
    }
View Full Code Here

Examples of com.sun.tools.xjc.util.ErrorReceiverFilter.error()

                    forest.dump(System.out);
                    return 0;
                } catch (SAXException e) {
                    // the error should have already been reported
                } catch (IOException e) {
                    receiver.error(e);
                }

                return -1;
            }
View Full Code Here

Examples of com.twosigma.beaker.jvm.object.SimpleEvaluationObject.error()

      @FormParam("code") String code) throws InterruptedException {

    SimpleEvaluationObject obj = new SimpleEvaluationObject(code);
    obj.started();
    if(!this.shells.containsKey(shellId)) {
      obj.error("Cannot find shell");
        return obj;
    }
    try {
        this.shells.get(shellId).evaluate(obj, code);
    } catch (Exception e) {
View Full Code Here

Examples of com.vaadin.server.ErrorHandler.error()

     */
    private void callErrorHandler(VaadinSession session, Exception e) {
        try {
            ErrorHandler errorHandler = ErrorEvent.findErrorHandler(session);
            if (errorHandler != null) {
                errorHandler.error(new ErrorEvent(e));
            }
        } catch (Exception ex) {
            // Let's not allow error handling to cause trouble; log fails
            getLogger().log(Level.WARNING, "ErrorHandler call failed", ex);
        }
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.XMLProcess.error()

        // has a next process set
        XMLProcess testable = createTestableProcess();
        prepareProcessForFlowControlTest(testable);
       
        // invoke the method being tested
        testable.error(EXCEPTION);
       
        // even in flow control mode errors should be forwarded
        XMLProcessTestable next =
                (XMLProcessTestable) testable.getNextProcess();
        next.assertErrorInvoked(EXCEPTION);
View Full Code Here

Examples of eu.admire.gateway.core.errors.CompileErrorListener.error()

                updateFinishedAt();
                return;
            }
            catch(TransformationException transformationException)
            {
                errorListener.error(transformationException);
                LOG.error("Caught exception during optimisation.");
                updateStatus(ProcessingStatus.COMPILATION_ERROR);
                updateFinishedAt();
                return;
            }
View Full Code Here

Examples of flex.messaging.log.Logger.error()

        {
            // Log failed property set errors
            if (Log.isError())
            {
                Logger log = Log.getLogger(LOG_CATEGORY);
                log.error("Failed to introspect object of type: " + c + " error: " + ExceptionUtil.toString(ex));
            }

            // Return an empty descriptor rather than crashing
            pce = new PropertyDescriptorCacheEntry();
            pce.propertyDescriptors = new PropertyDescriptor[0];
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.