brooklyn.location
Class NoMachinesAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by brooklyn.location.NoMachinesAvailableException
All Implemented Interfaces:
Serializable

public class NoMachinesAvailableException
extends Exception

Indicates no machines are available in a given location.

See Also:
Serialized Form

Constructor Summary
NoMachinesAvailableException()
          Deprecated. since 0.5; always include a helpful message!
NoMachinesAvailableException(Location location)
          Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String)
NoMachinesAvailableException(Location location, String s)
          Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String)
NoMachinesAvailableException(Location location, String s, Throwable throwable)
          Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String, Throwable)
NoMachinesAvailableException(Location location, Throwable throwable)
          Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String, Throwable)
NoMachinesAvailableException(String s)
           
NoMachinesAvailableException(String s, Throwable throwable)
           
NoMachinesAvailableException(Throwable throwable)
          Deprecated. since 0.5; always include a helpful message!
 
Method Summary
 Location getLocation()
          Deprecated. since 0.5; the catcher can know which location had no machines based on which location they asked for; will remove this so that the exception is definitely serializable.
 
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

NoMachinesAvailableException

public NoMachinesAvailableException()
Deprecated. since 0.5; always include a helpful message!


NoMachinesAvailableException

public NoMachinesAvailableException(String s)

NoMachinesAvailableException

public NoMachinesAvailableException(String s,
                                    Throwable throwable)

NoMachinesAvailableException

public NoMachinesAvailableException(Throwable throwable)
Deprecated. since 0.5; always include a helpful message!


NoMachinesAvailableException

public NoMachinesAvailableException(Location location)
Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String)


NoMachinesAvailableException

public NoMachinesAvailableException(Location location,
                                    String s)
Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String)


NoMachinesAvailableException

public NoMachinesAvailableException(Location location,
                                    String s,
                                    Throwable throwable)
Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String, Throwable)


NoMachinesAvailableException

public NoMachinesAvailableException(Location location,
                                    Throwable throwable)
Deprecated. since 0.5; don't include Location - just use NoMachinesAvailableException(String, Throwable)

Method Detail

getLocation

public Location getLocation()
Deprecated. since 0.5; the catcher can know which location had no machines based on which location they asked for; will remove this so that the exception is definitely serializable.



Copyright © 2013. All Rights Reserved.