|
||||||||||
| 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
public class 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(InterruptedException cause,
ServiceName serviceName,
String operationName)
Created a KernelOperationInterruptedException for the specified operation on the specified service. |
|
KernelOperationInterruptedException(String message,
InterruptedException cause,
ServiceName serviceName,
String operationName)
Created a KernelOperationInterruptedException with a custom message. |
|
| Method Summary | |
|---|---|
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(InterruptedException cause,
ServiceName serviceName,
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 interrupted
public KernelOperationInterruptedException(String message,
InterruptedException cause,
ServiceName serviceName,
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 interrupted| Method Detail |
|---|
public ServiceName getServiceName()
public String getOperationName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||