org.magnos.data.error
Class StoreAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.magnos.data.error.StoreAccessException
All Implemented Interfaces:
java.io.Serializable

public class StoreAccessException
extends java.lang.RuntimeException

A store does not have sufficient access to perform the requested operaiton.

Author:
Philip Diffenderfer
See Also:
Serialized Form

Constructor Summary
StoreAccessException(Store store, StoreAccess access)
          Instantiates a new StoreAccessException.
 
Method Summary
 StoreAccess getAccess()
          The access which was not sufficient.
 Store getStore()
          The store which did not have proper access.
 
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

StoreAccessException

public StoreAccessException(Store store,
                            StoreAccess access)
Instantiates a new StoreAccessException.

Parameters:
store - The store which did not have proper access.
access - The access which was not sufficient.
Method Detail

getStore

public Store getStore()
The store which did not have proper access.

Returns:
The reference to the store.

getAccess

public StoreAccess getAccess()
The access which was not sufficient.

Returns:
The reference to the access.