javax.management.remote.message
Class HandshakeErrorMessage

java.lang.Object
  extended by javax.management.remote.message.HandshakeErrorMessage
All Implemented Interfaces:
Serializable, Message

public class HandshakeErrorMessage
extends Object
implements Message

This class represents an error that occurred during the various client/server handshake exchanges.

At any time during the handshake, if either the client or the server encounters a problem they can notify the other peer by sending this indication message as to why the operation failed.

See Also:
HandshakeBeginMessage, Serialized Form

Constructor Summary
HandshakeErrorMessage(String detail)
          Constructs a new HandshakeErrorMessage with the specified error.
 
Method Summary
 String getDetail()
          A textual description of the error encountered by the peer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandshakeErrorMessage

public HandshakeErrorMessage(String detail)
Constructs a new HandshakeErrorMessage with the specified error.

Parameters:
detail - a textual description of the error encountered by the peer object.
Method Detail

getDetail

public String getDetail()
A textual description of the error encountered by the peer object.

Returns:
The detail of the error encountered by the other peer.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.