org.apache.clerezza.rdf.core.access
Class ReadOnlyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.SecurityException
                  extended by java.security.AccessControlException
                      extended by org.apache.clerezza.rdf.core.access.ReadOnlyException
All Implemented Interfaces:
Serializable

public class ReadOnlyException
extends AccessControlException

is thrown on an attempt to add or remove triples to a read-only mutable graph

Author:
tsuy
See Also:
Serialized Form

Constructor Summary
ReadOnlyException(String action)
          creates an exception indicating that the mutable graph is read-only
 
Method Summary
 String getAction()
           
 
Methods inherited from class java.security.AccessControlException
getPermission
 
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

ReadOnlyException

public ReadOnlyException(String action)
creates an exception indicating that the mutable graph is read-only

Parameters:
action -
Method Detail

getAction

public String getAction()
Returns:
the name of the action


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.