uk.ac.soton.itinnovation.grid.pbac2.pdp
Class EventCurrentlyUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.ac.soton.itinnovation.grid.types.GridErrorException
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
|
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 |
EventCurrentlyUnavailableException
public EventCurrentlyUnavailableException(String event,
String message)
- Parameters:
event - the event that is currently unavailablemessage - message to pass up to the parent class
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.