org.openanzo.common.exceptions
Class DBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openanzo.common.exceptions.AnzoException
org.openanzo.common.exceptions.DBException
- All Implemented Interfaces:
- java.io.Serializable
public class DBException
- extends AnzoException
Anzo exception class for the DB major error codes.
- Author:
- Matthew Roy ( mroy@cambridgesemantics.com )
- See Also:
- Serialized Form
|
Constructor Summary |
DBException(org.apache.axis.AxisFault fault)
Create a new AnzoException based on error codes and arguments in AxisFault |
DBException(int errorCode,
int errorSubCode,
java.lang.String... args)
Create a new AnzoException, ensuring major code is part of the ExceptionConstants.DB errors |
DBException(int errorCode,
int errorSubCode,
java.lang.Throwable cause,
java.lang.String... args)
Create a new AnzoException, ensuring major code is part of the ExceptionConstants.DB errors |
| 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 |
DBException
public DBException(int errorCode,
int errorSubCode,
java.lang.String... args)
- Create a new AnzoException, ensuring major code is part of the ExceptionConstants.DB errors
- Parameters:
errorCode - Exceptions error codeerrorSubCode - Exceptions minor codeargs - Arguments to exception's error message
DBException
public DBException(int errorCode,
int errorSubCode,
java.lang.Throwable cause,
java.lang.String... args)
- Create a new AnzoException, ensuring major code is part of the ExceptionConstants.DB errors
- Parameters:
errorCode - Exceptions error codecause - Cause of exceptionerrorSubCode - Exceptions minor codeargs - Arguments to exception's error message
DBException
public DBException(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.