com.centrasite.jaxr.exceptions
Class LockNotAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.registry.JAXRException
              extended by com.centrasite.jaxr.exceptions.LockNotAvailableException
All Implemented Interfaces:
java.io.Serializable, javax.xml.registry.JAXRResponse

public class LockNotAvailableException
extends javax.xml.registry.JAXRException

See Also:
Serialized Form

Field Summary
static java.lang.String rcs_id
           
 
Fields inherited from class javax.xml.registry.JAXRException
cause
 
Fields inherited from interface javax.xml.registry.JAXRResponse
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
 
Constructor Summary
LockNotAvailableException(java.lang.Exception e)
          Construct a new LockNotAvailableException
LockNotAvailableException(java.lang.String errorMessage)
          Construct a new LockNotAvailableException
LockNotAvailableException(java.lang.String errorMessage, java.lang.Exception e, java.lang.String id)
          Construct a new LockNotAvailableException
 
Method Summary
 java.lang.String getObjectId()
          Get the id of the object that could not be locked
 
Methods inherited from class javax.xml.registry.JAXRException
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

LockNotAvailableException

public LockNotAvailableException(java.lang.String errorMessage)
Construct a new LockNotAvailableException

Parameters:
errorMessage - the error message string

LockNotAvailableException

public LockNotAvailableException(java.lang.Exception e)
Construct a new LockNotAvailableException

Parameters:
e - the causing exception

LockNotAvailableException

public LockNotAvailableException(java.lang.String errorMessage,
                                 java.lang.Exception e,
                                 java.lang.String id)
Construct a new LockNotAvailableException

Parameters:
errorMessage - the error message string
e - the causing exception
id - the id of the object that could not be locked
Method Detail

getObjectId

public java.lang.String getObjectId()
Get the id of the object that could not be locked

Returns:
the id of the object that could not be locked. Maybe null.