org.apache.slide.macro
Class ForbiddenException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.apache.slide.common.SlideException
|
+--org.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.2 $
- Author:
- Remy Maucherat
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getObjectUri()
Object Uri accessor. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 operationt
- Throwable containing the reason
getObjectUri
public java.lang.String getObjectUri()
- Object Uri accessor.
- Returns:
- String object uri