org.apache.lenya.cms.rc
Class FileReservedCheckOutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.lenya.cms.rc.FileReservedCheckOutException
All Implemented Interfaces:
java.io.Serializable

public class FileReservedCheckOutException
extends java.lang.Exception

Exception for already checked out files

See Also:
Serialized Form

Constructor Summary
FileReservedCheckOutException(java.lang.String _source, RCML rcml)
          Creates a new FileReservedCheckOutException object.
 
Method Summary
 java.util.Date getCheckOutDate()
          Get the date of the checkout.
 java.lang.String getCheckOutUsername()
          Get the user name who did this checkout.
 java.lang.String getSource()
          Get the source of the checkout.
 
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

FileReservedCheckOutException

public FileReservedCheckOutException(java.lang.String _source,
                                     RCML rcml)
                              throws java.lang.Exception
Creates a new FileReservedCheckOutException object.

Parameters:
_source - The source
rcml - The RCML
Throws:
java.lang.Exception - if an error occurs
Method Detail

getCheckOutDate

public java.util.Date getCheckOutDate()
Get the date of the checkout.

Returns:
the date of the checkout

getSource

public java.lang.String getSource()
Get the source of the checkout.

Returns:
the source of the checkout

getCheckOutUsername

public java.lang.String getCheckOutUsername()
Get the user name who did this checkout.

Returns:
the user name of this checkout


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.