FileDocCategorySizeDatePackage
GenericClusteringException.javaAPI DocJBoss 4.2.14082Fri Jul 13 20:52:38 BST 2007org.jboss.ha.framework.interfaces

GenericClusteringException

public class GenericClusteringException extends org.jboss.util.NestedException
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.
author
Sacha Labourey.
version
$Revision: 57188 $

Revisions:

8 avril 2002 Sacha Labourey:

  • First implementation

Fields Summary
public static final int
COMPLETED_YES
public static final int
COMPLETED_NO
public static final int
COMPLETED_MAYBE
public boolean
isDefinitive
public int
completed
Constructors Summary
public GenericClusteringException()

   
     
   
      this.completed = this.COMPLETED_MAYBE;
   
public GenericClusteringException(int CompletionStatus)

      this.completed = CompletionStatus;
   
public GenericClusteringException(int CompletionStatus, String s)

      super(s);
      this.completed = CompletionStatus;
   
public GenericClusteringException(int CompletionStatus, String s, boolean isDefinitive)

      super(s);
      this.completed = CompletionStatus;
      this.isDefinitive = isDefinitive;
   
public GenericClusteringException(int CompletionStatus, Throwable nested, boolean isDefinitive)

      super(nested);
      this.completed = CompletionStatus;
      this.isDefinitive = isDefinitive;
   
public GenericClusteringException(int CompletionStatus, Throwable nested)

      super(nested);
      this.completed = CompletionStatus;
   
Methods Summary
public intgetCompletionStatus()

      return this.completed;
   
public booleanisDefinitive()

      return this.isDefinitive;      
   
public voidsetCompletionStatus(int completionStatus)

      this.completed = completionStatus;
   
public voidsetIsDefinitive(boolean definitive)

      this.isDefinitive = definitive;