Brooklyn

brooklyn.location
[Java] Class NoMachinesAvailableException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          brooklyn.location.NoMachinesAvailableException

public class NoMachinesAvailableException
extends java.lang.Exception

Indicates no machines are available in a given location.


Constructor Summary
NoMachinesAvailableException()

@deprecated since 0.5; always include a helpful message!

NoMachinesAvailableException(java.lang.String s)

NoMachinesAvailableException(java.lang.String s, java.lang.Throwable throwable)

NoMachinesAvailableException(java.lang.Throwable throwable)

@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, java.lang.String s)

@deprecated since 0.5; don't include Location - just use NoMachinesAvailableException(String)

NoMachinesAvailableException(Location location, java.lang.String s, java.lang.Throwable throwable)

@deprecated since 0.5; don't include Location - just use NoMachinesAvailableException(String, Throwable)

NoMachinesAvailableException(Location location, java.lang.Throwable throwable)

@deprecated since 0.5; don't include Location - just use NoMachinesAvailableException(String, Throwable)

 
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.Exception
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#wait(), java.lang.Exception#wait(long), java.lang.Exception#wait(long, int), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll()
 
Methods inherited from class java.lang.Throwable
java.lang.Throwable#printStackTrace(java.io.PrintStream), java.lang.Throwable#printStackTrace(), java.lang.Throwable#printStackTrace(java.io.PrintWriter), java.lang.Throwable#fillInStackTrace(), java.lang.Throwable#getCause(), java.lang.Throwable#initCause(java.lang.Throwable), java.lang.Throwable#toString(), java.lang.Throwable#getMessage(), java.lang.Throwable#getLocalizedMessage(), java.lang.Throwable#getStackTrace(), java.lang.Throwable#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Throwable#wait(), java.lang.Throwable#wait(long), java.lang.Throwable#wait(long, int), java.lang.Throwable#equals(java.lang.Object), java.lang.Throwable#hashCode(), java.lang.Throwable#getClass(), java.lang.Throwable#notify(), java.lang.Throwable#notifyAll()
 

Constructor Detail

NoMachinesAvailableException

public NoMachinesAvailableException()
deprecated:
since 0.5; always include a helpful message!


NoMachinesAvailableException

public NoMachinesAvailableException(java.lang.String s)


NoMachinesAvailableException

public NoMachinesAvailableException(java.lang.String s, java.lang.Throwable throwable)


NoMachinesAvailableException

public NoMachinesAvailableException(java.lang.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, java.lang.String s)
deprecated:
since 0.5; don't include Location - just use NoMachinesAvailableException(String)


NoMachinesAvailableException

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


NoMachinesAvailableException

public NoMachinesAvailableException(Location location, java.lang.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.


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.