com.sun.sgs.impl.service.nodemap
Class NoNodesAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.sgs.impl.service.nodemap.NoNodesAvailableException
All Implemented Interfaces:
Serializable

public class NoNodesAvailableException
extends Exception

Thrown if the NodeAssignPolicy could not choose a node for assignment because no nodes were available to it.

Note that this exception is very specific; perhaps we'll want a more general exception to be thrown from NodeAssignPolicy.chooseNode(long).

See Also:
Serialized Form

Constructor Summary
NoNodesAvailableException(String message)
          Creates an instance of this class with the specified detail message.
NoNodesAvailableException(String message, Throwable cause)
          Creates an instance of this class with the specified detail message and cause.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoNodesAvailableException

public NoNodesAvailableException(String message)
Creates an instance of this class with the specified detail message.

Parameters:
message - the detail message or null

NoNodesAvailableException

public NoNodesAvailableException(String message,
                                 Throwable cause)
Creates an instance of this class with the specified detail message and cause.

Parameters:
message - the detail message or null
cause - the cause or null

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved