javax.management.remote.message
Class HandshakeErrorMessage

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

public class HandshakeErrorMessage
extends java.lang.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(java.lang.String detail)
          Constructs a new HandshakeErrorMessage with the specified error.
 
Method Summary
 java.lang.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(java.lang.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 java.lang.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 01-ea
opendmk-1.0-b01-ea 2010.10.20_19:39:55_UTC

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