|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.sgs.protocol.LoginRedirectException
public class LoginRedirectException
An exception that indicates a login should be redirected to the node
returned by this exception's getNodeId method.
| Constructor Summary | |
|---|---|
LoginRedirectException(long nodeId,
Set<ProtocolDescriptor> descriptors)
Constructs an instance with the specified nodeId and
protocol descriptors. |
|
LoginRedirectException(long nodeId,
Set<ProtocolDescriptor> descriptors,
String message)
Constructs an instance with the specified nodeId, descriptors and detail message. |
|
LoginRedirectException(long nodeId,
Set<ProtocolDescriptor> descriptors,
String message,
Throwable cause)
Constructs an instance with the specified nodeId, detail
message, and cause. |
|
| Method Summary | |
|---|---|
long |
getNodeId()
Returns the ID of the node to which the login should be redirected. |
Set<ProtocolDescriptor> |
getProtocolDescriptors()
Returns a collection of protocol descriptors supported by the node whose ID is returned by getNodeId. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LoginRedirectException(long nodeId,
Set<ProtocolDescriptor> descriptors)
nodeId and
protocol descriptors.
nodeId - a node IDdescriptors - a collection of protocol descriptors
supported by the specified node, or null
public LoginRedirectException(long nodeId,
Set<ProtocolDescriptor> descriptors,
String message)
nodeId, descriptors and detail message.
nodeId - a node IDdescriptors - a collection of protocol descriptors
supported by the specified node, or nullmessage - a detail message, or null
public LoginRedirectException(long nodeId,
Set<ProtocolDescriptor> descriptors,
String message,
Throwable cause)
nodeId, detail
message, and cause.
nodeId - a node IDdescriptors - a collection of protocol descriptors
supported by the specified node, or nullmessage - a detail message, or nullcause - the cause of this exception, or null| Method Detail |
|---|
public long getNodeId()
public Set<ProtocolDescriptor> getProtocolDescriptors()
getNodeId.
Set of protocol descriptors
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||