org.jboss.ha.framework.interfaces
Class GenericClusteringException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jboss.util.NestedException (src) 
              extended byorg.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

Nested Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable (src)
NestedThrowable.Util (src)
 
Field Summary
 int completed
           
static int COMPLETED_MAYBE
           
static int COMPLETED_NO
           
static int COMPLETED_YES
           
 boolean isDefinitive
           
 
Fields inherited from class org.jboss.util.NestedException (src)
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable (src)
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
GenericClusteringException()
           
GenericClusteringException(int CompletionStatus)
           
GenericClusteringException(int CompletionStatus, java.lang.String s)
           
GenericClusteringException(int CompletionStatus, java.lang.String s, boolean isDefinitive)
           
GenericClusteringException(int CompletionStatus, java.lang.Throwable nested)
           
GenericClusteringException(int CompletionStatus, java.lang.Throwable nested, boolean isDefinitive)
           
 
Method Summary
 int getCompletionStatus()
           
 boolean isDefinitive()
           
 void setCompletionStatus(int completionStatus)
           
 void setIsDefinitive(boolean definitive)
           
 
Methods inherited from class org.jboss.util.NestedException (src)
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

getCompletionStatus

public int getCompletionStatus()

setCompletionStatus

public void setCompletionStatus(int completionStatus)

isDefinitive

public boolean isDefinitive()

setIsDefinitive

public void setIsDefinitive(boolean definitive)