org.apache.slide.macro
Class ForbiddenException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.slide.common.SlideException
              extended byorg.apache.slide.macro.ForbiddenException
All Implemented Interfaces:
java.io.Serializable

public class ForbiddenException
extends SlideException

The copy/move operation is forbidden, e.g. source and destination uri are identical.

Version:
$Revision: 1.6 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ForbiddenException(java.lang.String objectUri)
          Constructor.
ForbiddenException(java.lang.String objectUri, java.lang.Throwable t)
          Constructor.
 
Method Summary
 java.lang.String getObjectUri()
          Object Uri accessor.
 
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

ForbiddenException

public ForbiddenException(java.lang.String objectUri)
Constructor.

Parameters:
objectUri - Uri of the forbidden operation

ForbiddenException

public ForbiddenException(java.lang.String objectUri,
                          java.lang.Throwable t)
Constructor.

Parameters:
objectUri - Uri of the forbidden operation
t - Throwable containing the reason
Method Detail

getObjectUri

public java.lang.String getObjectUri()
Object Uri accessor.

Returns:
String object uri