org.openanzo.common.exceptions
Class ReplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openanzo.common.exceptions.AnzoException
              extended by org.openanzo.common.exceptions.ReplicationException
All Implemented Interfaces:
java.io.Serializable

public class ReplicationException
extends AnzoException

Anzo exception class for the Replication major error codes.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )
See Also:
Serialized Form

Constructor Summary
ReplicationException(org.apache.axis.AxisFault fault)
          Create a new AnzoException based on error codes and arguments in AxisFault
ReplicationException(int errorCode, int errorSubCode, java.lang.String... args)
          Create a new AnzoException, ensuring major code is type ExceptionConstants.CLIENT.CODES.REPLICATION errors
ReplicationException(int errorCode, int errorSubCode, java.lang.Throwable cause, java.lang.String... args)
          Create a new AnzoException, ensuring major code is type ExceptionConstants.CLIENT.CODES.REPLICATION errors
 
Method Summary
 
Methods inherited from class org.openanzo.common.exceptions.AnzoException
createException, createException, createException, getArgs, getErrorCode, getErrorSubCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicationException

public ReplicationException(int errorCode,
                            int errorSubCode,
                            java.lang.String... args)
Create a new AnzoException, ensuring major code is type ExceptionConstants.CLIENT.CODES.REPLICATION errors

Parameters:
errorCode - Exceptions error code
errorSubCode - Exceptions minor code
args - Arguments to exception's error message

ReplicationException

public ReplicationException(int errorCode,
                            int errorSubCode,
                            java.lang.Throwable cause,
                            java.lang.String... args)
Create a new AnzoException, ensuring major code is type ExceptionConstants.CLIENT.CODES.REPLICATION errors

Parameters:
errorCode - Exceptions error code
errorSubCode - Exceptions minor code
cause - Cause of exception
args - Arguments to exception's error message

ReplicationException

public ReplicationException(org.apache.axis.AxisFault fault)
Create a new AnzoException based on error codes and arguments in AxisFault

Parameters:
fault - cause of exception


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.