uk.ac.soton.itinnovation.grid.pbac2.pdp
Class EventCurrentlyUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by uk.ac.soton.itinnovation.grid.types.GridErrorException
                  extended by uk.ac.soton.itinnovation.grid.pbac2.pdp.EventCurrentlyUnavailableException
All Implemented Interfaces:
Serializable

public class EventCurrentlyUnavailableException
extends GridErrorException

Thrown when the user is permitted to execute the action on the resource, but not at the moment as the resource in in the wrong state.

See Also:
Serialized Form

Constructor Summary
EventCurrentlyUnavailableException(String event, String message)
           
 
Method Summary
 String getEvent()
          Gets the Action that is not available
 
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

EventCurrentlyUnavailableException

public EventCurrentlyUnavailableException(String event,
                                          String message)
Parameters:
event - the event that is currently unavailable
message - message to pass up to the parent class
Method Detail

getEvent

public String getEvent()
Gets the Action that is not available

Returns:
the action that is currently unavailable


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.