code: public OtpErlangObject receive() throws OtpErlangExit,
              OtpErlangDecodeException {
          try {
              return receiveMsg().getMsg();
          } catch (final OtpErlangExit e) {
              throw e;
          } catch (final OtpErlangDecodeException f) {
              throw f;
          }
      }
docs: Block until a message arrives for this mailbox.
  
  @return an {@link OtpErlangObject OtpErlangObject} representing the body
  of the next message waiting in this mailbox.
  
  @exception OtpErlangDecodeException
  if the message cannot be decoded.
  
  @exception OtpErlangExit
  if a linked {@link OtpErlangPid pid} has exited or has
  sent an exit signal to this mailbox.