com.codemonster.surinam.export.throwable
Class UnavailableServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by com.codemonster.surinam.export.throwable.SurinamRuntimeException
                      extended by com.codemonster.surinam.export.throwable.UnavailableServiceException
All Implemented Interfaces:
Serializable

public class UnavailableServiceException
extends SurinamRuntimeException

When a service is registered but is in a state that makes it impossible to handle requests, you will see this exception. As such, this is an exception that every service should be comfortable seeing and handling since there are any number of reasons that this could be thrown... a registered service contract that has a default implementation would be the simplest possible example. Another would be where a running service takes itself offline due to a critical failure to a point where it should not be used.

See Also:
Serialized Form

Constructor Summary
UnavailableServiceException(String message)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnavailableServiceException

public UnavailableServiceException(String message)


Copyright © 2010. All Rights Reserved.