net.sf.spif
Class LockedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--net.sf.spif.LockedException
- All Implemented Interfaces:
- java.io.Serializable
- public class LockedException
- extends java.lang.RuntimeException
Thrown when a lock was requested for an allready locked item
- Version:
- $Id: LockedException.java,v 1.2 2003/02/05 22:15:44 bratseth Exp $
- Author:
- Jon S Bratseth
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getLockedBy()
Returns the name of the principal which has this item locked |
java.lang.String |
getMessage()
|
void |
initLockedBy(java.lang.String lockedBy)
Sets the name of the locked of this item |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LockedException
public LockedException(java.lang.String message)
LockedException
public LockedException(java.lang.String message,
java.lang.String lockedBy)
getLockedBy
public java.lang.String getLockedBy()
- Returns the name of the principal which has this item locked
initLockedBy
public void initLockedBy(java.lang.String lockedBy)
- Sets the name of the locked of this item
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Spif 1.01 (2003-04-03). http://spif.sf.net