|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.xbean.kernel.KernelOperationInterruptedException
Signifies that a thread carrying out a kernel operation was interrupted. The kernel will always leave the system in a stable state before returning to the caller.
Constructor Summary | |
KernelOperationInterruptedException(java.lang.InterruptedException cause,
ServiceName serviceName,
java.lang.String operationName)
Created a KernelOperationInterruptedException for the specified operation on the specified service. |
|
KernelOperationInterruptedException(java.lang.String message,
java.lang.InterruptedException cause,
ServiceName serviceName,
java.lang.String operationName)
Created a KernelOperationInterruptedException with a custom message. |
Method Summary | |
java.lang.String |
getOperationName()
Gets the name of the operation that was interrupted. |
ServiceName |
getServiceName()
Gets the name of the service for which the operation was interrupted. |
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 |
public KernelOperationInterruptedException(java.lang.InterruptedException cause, ServiceName serviceName, java.lang.String operationName)
cause
- the InterruptedException
that casused the kernel operation to be interruptedserviceName
- the name of the service for which the operation was interruptedoperationName
- the name of the operation that was interruptedpublic KernelOperationInterruptedException(java.lang.String message, java.lang.InterruptedException cause, ServiceName serviceName, java.lang.String operationName)
message
- a custom message for this exceptioncause
- the InterruptedException
that casused the kernel operation to be interruptedserviceName
- the name of the service for which the operation was interruptedoperationName
- the name of the operation that was interruptedMethod Detail |
public ServiceName getServiceName()
public java.lang.String getOperationName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |