org.jboss.ha.framework.interfaces
Class GenericClusteringException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.util.NestedException (src)
org.jboss.ha.framework.interfaces.GenericClusteringException
- All Implemented Interfaces:
- NestedThrowable (src) , java.io.Serializable
- public class GenericClusteringException
- extends NestedException (src)
Generic clustering exception that can be used to replace other exceptions
that occur on the server. Thus, only this class is needed on the client side
and some specific server side exceptions class are not needed on the client side
(such as JMX exceptions for example).
Furhtermore, it has support for "COMPLETED" status flag a la IIOP.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPLETED_YES
public static final int COMPLETED_YES
- See Also:
- Constant Field Values (src)
COMPLETED_NO
public static final int COMPLETED_NO
- See Also:
- Constant Field Values (src)
COMPLETED_MAYBE
public static final int COMPLETED_MAYBE
- See Also:
- Constant Field Values (src)
isDefinitive
public boolean isDefinitive
completed
public int completed
GenericClusteringException
public GenericClusteringException()
GenericClusteringException
public GenericClusteringException(int CompletionStatus)
GenericClusteringException
public GenericClusteringException(int CompletionStatus,
java.lang.String s)
GenericClusteringException
public GenericClusteringException(int CompletionStatus,
java.lang.String s,
boolean isDefinitive)
GenericClusteringException
public GenericClusteringException(int CompletionStatus,
java.lang.Throwable nested,
boolean isDefinitive)
GenericClusteringException
public GenericClusteringException(int CompletionStatus,
java.lang.Throwable nested)
getCompletionStatus
public int getCompletionStatus()
setCompletionStatus
public void setCompletionStatus(int completionStatus)
isDefinitive
public boolean isDefinitive()
setIsDefinitive
public void setIsDefinitive(boolean definitive)