Examples of addMessage()


Examples of ariba.ui.aribaweb.util.AWGenericException.addMessage()

    protected final AWGenericException getBindingException (String message, Exception exception)
    {
        AWGenericException wrappedException = null;
        if (exception instanceof AWGenericException) {
            wrappedException = (AWGenericException)exception;
            wrappedException.addMessage(message);
        }
        else {
            wrappedException = new AWBindingException(message, exception);
        }
        return wrappedException;
View Full Code Here

Examples of br.com.objectos.comuns.sitebricks.form.FormResponseBuilder.addMessage()

  private FormResponseBuilder onErrorBuilder(List<Exception> exceptions) {
    FormResponseBuilder builder = new FormResponseBuilder();

    for (Exception exception : exceptions) {
      String message = exception.getMessage();
      builder.addMessage(message);
    }

    return builder;
  }
View Full Code Here

Examples of br.com.objectos.way.ui.form.FormResponseBuilder.addMessage()

  private FormResponseBuilder onErrorBuilder(List<Exception> exceptions) {
    FormResponseBuilder builder = new FormResponseBuilder();

    for (Exception exception : exceptions) {
      String message = exception.getMessage();
      builder.addMessage(message);
    }

    return builder;
  }
View Full Code Here

Examples of ch.ethz.inf.vs.scandium.dtls.DTLSFlight.addMessage()

   
    if (session != null) {
      DTLSMessage closeNotify = new AlertMessage(AlertLevel.WARNING, AlertDescription.CLOSE_NOTIFY);
     
      DTLSFlight flight = new DTLSFlight();
      flight.addMessage(new Record(ContentType.ALERT, session.getWriteEpoch(), session.getSequenceNumber(), closeNotify, session));
      flight.setRetransmissionNeeded(false);
     
      cancelPreviousFlight(peerAddress);
 
      flight.setPeerAddress(peerAddress);
View Full Code Here

Examples of com.adito.testcontainer.StrutsExecutionStep.addMessage()

        T resource = createResource();

        StrutsExecutionStep executionStep = new StrutsExecutionStep(getRequestPath(), getRequestPath());
        executionStep.addRequestParameter("actionTarget", "remove");
        executionStep.addRequestParameter("selectedResource", String.valueOf(resource.getResourceId()));
        executionStep.addMessage(getRemovedMessage());
        executeStep(executionStep);
       
        Collection<T> resources = getResources();
        assertEquals("Should be zero resources", getInitialResourceCount(), resources.size());
    }
View Full Code Here

Examples of com.aelitis.azureus.core.networkmanager.OutgoingMessageQueue.addMessage()

          }
         
          public void flush(){}
      });
   
    omq.addMessage( http_message, false );
   
      // if after adding the message there's no bytes on the queue then we need to trigger an
      // immediate flushed event as the queue won't get processed (0 bytes on it...)
   
    if ( omq.getTotalSize() == 0 ){
View Full Code Here

Examples of com.alibaba.dubbo.remoting.exchange.support.MultiMessage.addMessage()

            Object obj = codec.decode(channel, bis);
            if (NEED_MORE_INPUT == obj) {
                bis.position(save);
                break;
            } else {
                result.addMessage(obj);
                logMessageLength(obj, bis.position() - save);
                save = bis.position();
            }
        } while (true);
        if (result.isEmpty()) {
View Full Code Here

Examples of com.anzsoft.client.ui.ChatWindow.addMessage()

        SoundController soundController = new SoundController();
        Sound sound = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG,
            "sound/im.wav");
        sound.play();
       
        window.addMessage(getContactNick(message.getFromID().toStringNoResource()), message.getBody(),false);
      }
      public void onMessageSent(XmppMessage message)
      {
       
      }
View Full Code Here

Examples of com.cedarsolutions.shared.domain.ValidationErrors.addMessage()

    }

    /** Test assertOnlyMessage(). */
    @Test public void testAssertOnlyMessage() {
        ValidationErrors details1 = new ValidationErrors();
        details1.addMessage("key1", null);
        InvalidDataException e1 = new InvalidDataException("message1", details1);

        ValidationErrors details2 = new ValidationErrors();
        details2.addMessage("key2", "context2", null);
        InvalidDataException e2 = new InvalidDataException("message2", details2);
View Full Code Here

Examples of com.changestuffs.server.utils.MessageOAM.addMessage()

    User user = userService.getCurrentUser();
    String json = toJson.getJson(action.getMessage(), user.getEmail(), MessageType.message);
    ChannelService channelService = ChannelServiceFactory.getChannelService();
    channelService.sendMessage(new ChannelMessage(action.getEmail(), json));
    MessageOAM oam = provider.get();
    oam.addMessage(action, user.getEmail());
    return new SendMessageResult();
  }

  @Override
  public void undo(SendMessage action, SendMessageResult result,
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.