uk.org.ogsadai.common.exception.common
Class CommonException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--uk.org.ogsadai.common.exception.DAIException
|
+--uk.org.ogsadai.common.exception.common.CommonException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CommonSystemException, CommonUserException
- public abstract class CommonException
- extends DAIException
An exception which indicates an error condition which has
arisen from a class used across the different functional areas of
OGSA-DAI, such as from a class in uk.org.ogsadai.common.
- Author:
- The OGSA-DAI Project Team
- See Also:
- Serialized Form
|
Constructor Summary |
CommonException(int num,
java.lang.Object[] params)
Construct a new general exception, using a specified message from
the message bundle. |
CommonException(int num,
java.lang.Object[] params,
java.lang.Throwable ex)
Construct a new general exception, using a specified message from
the message bundle, supplying an exception which caused this
exception to be thrown. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommonException
public CommonException(int num,
java.lang.Object[] params)
- Construct a new general exception, using a specified message from
the message bundle.
- Parameters:
num - the index of the message in the message bundleparams - the parameters to substitute into the message,
or null if the message expects no
parameters
CommonException
public CommonException(int num,
java.lang.Object[] params,
java.lang.Throwable ex)
- Construct a new general exception, using a specified message from
the message bundle, supplying an exception which caused this
exception to be thrown.
- Parameters:
num - the index of the message in the message bundleparams - the parameters to substitute into the message,
or null if the message expects no
parametersex - the exception which caused this exception to be thrown