org.openide.util
Class MutexException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openide.util.MutexException
All Implemented Interfaces:
java.io.Serializable

public class MutexException
extends java.lang.Exception

Encapsulates other exceptions thrown from a mutex method.

Author:
Jaroslav Tulach
See Also:
Mutex.ExceptionAction, Mutex.readAccess(Mutex.ExceptionAction), Mutex.writeAccess(Mutex.ExceptionAction), Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
MutexException(java.lang.Exception ex)
          Create an encapsulated exception.
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.Exception getException()
          Get the encapsulated exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

MutexException

public MutexException(java.lang.Exception ex)
Create an encapsulated exception.

Parameters:
ex - the exception
Method Detail

getException

public java.lang.Exception getException()
Get the encapsulated exception.

Returns:
the exception

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable