Examples of error()


Examples of org.hypertable.AsyncComm.ResponseCallback.error()

            mBroker.Seek(cb, fd, offset);

        }
        catch (ProtocolException e) {
            int error = cb.error(Error.PROTOCOL_ERROR, e.getMessage());
            log.severe("Protocol error (SEEK) - " + e.getMessage());
            if (error != Error.OK)
                log.severe("Problem sending (SEEK) error back to client - "
                           + Error.GetText(error));
        }
View Full Code Here

Examples of org.jabusuite.logging.Logger.error()

            } else {
               logger.debug("Module does not exist - opening FmCustomerEdit");
               return new FmCustomerEdit();
            }
        } catch (Exception e) {
            logger.error("Error looking for customer-module.",e);
            return new FmCustomerEdit();
        }
    }

    @Override
View Full Code Here

Examples of org.jboss.as.console.client.shared.patching.ui.RestartModal.error()

            }

            @Override
            public void onError(final Throwable caught) {
                // TODO Is there another way out?
                restartModal.error();
            }
        });
    }

    private ModelNode getRunningServersOp(final String host) {
View Full Code Here

Examples of org.jboss.dna.common.util.Logger.error()

     */
    public void start() {
        if (getProblems().hasErrors()) {
            // First log the messages ...
            Logger log = Logger.getLogger(getClass());
            log.error(RepositoryI18n.errorsPreventStarting);
            for (Problem problem : getProblems()) {
                log.error(problem.getMessage(), problem.getParameters());
            }
            // Then throw an exception ...
            throw new IllegalStateException(RepositoryI18n.errorsPreventStarting.text());
View Full Code Here

Examples of org.jboss.errai.common.client.api.ErrorCallback.error()

      @SuppressWarnings("unchecked")
      @Override
      public boolean error(Object message, Throwable throwable) {
        syncInProgress = false;
        ErrorCallback rawOnError = onError;
        return rawOnError.error(message, throwable);
      }
    };
    dataSyncService.call(onSuccess, errorCallback).coldSync(syncSet, syncRequests);
  }
View Full Code Here

Examples of org.jboss.forge.addon.ui.output.UIOutput.error()

            BuildStatusFacet facet = project.getFacet(BuildStatusFacet.class);
            if (!facet.isBuildable())
            {
               UIOutput output = uiContext.getProvider().getOutput();
               PrintStream err = output.err();
               output.error(err, String.format("Project '%s' has errors", project.getRoot()));
               for (LogRecord record : facet.getBuildMessages())
               {
                  if (Level.SEVERE.equals(record.getLevel()))
                  {
                     output.error(err, record.getMessage());
View Full Code Here

Examples of org.jboss.logging.Logger.error()

               if (mess instanceof TextMessage)
                  log.debug(((TextMessage) mess).getText());
            }
            catch (Exception e)
            {
               log.error("Error", e);
            }
         }
      });

      MessageProducer sender = session.createProducer(testQueue);
View Full Code Here

Examples of org.jolokia.util.LogHandler.error()

            } else {
                log.info("No access restrictor found at " + pLocation + ", access to all MBeans is allowed");
                return new AllowAllRestrictor();
            }
        } catch (IOException e) {
            log.error("Error while accessing access restrictor at " + pLocation +
                              ". Denying all access to MBeans for security reasons. Exception: " + e, e);
            return new DenyAllRestrictor();
        }
    }
View Full Code Here

Examples of org.jostraca.util.CommandLineUserMessageHandler.error()

    umh.add( UserMessageHandler.DEBUG, "debug03 FAIL" );

    umh.debug( "debug04 FAIL" );
    umh.info"info01" );
    umh.warn"warn01" );
    umh.error( "error01" );
    umh.fatal( "fatal01" );

    umh.info( "foo:", "bar" );
    umh.info( "foofoo:", "bar" );
  }
View Full Code Here

Examples of org.jostraca.util.RecordingUserMessageHandler.error()

    catch( StandardException se ) { throw se; }
    catch( Exception e ) {

      // REVIEW: this is a hack - need to move formatting out of RecordingUserMessageHandler
      RecordingUserMessageHandler rumh = new RecordingUserMessageHandler();
      rumh.error( e );
      throw new JostracaException( rumh.toString() );
    }
  }

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.