|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--uk.org.ogsadai.client.toolkit.exception.DAIException
This is the parent exception for all exceptions except the
InternalException thrown by the OGSA-DAI client toolkit code.
If a client toolkit method throws multiple exceptions, and the client
application intends to treat each case in the same way, then this form can be
used to generalise a catch statement.
| Constructor Summary | |
DAIException(java.lang.String message)
Constructs a new exception with the specified description String. |
|
DAIException(java.lang.String message,
org.apache.log4j.Logger logger)
Constructs a new exception with the specified description String and logs an error specifying the concrete
Exception class and description string using the specified
Logger. |
|
DAIException(java.lang.String message,
java.lang.Throwable cause,
org.apache.log4j.Logger logger)
Constructs a new exception with the specified description String and logs an error specifying the concrete
Exception class and description string using the specified
Logger. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 |
| Constructor Detail |
public DAIException(java.lang.String message)
String.
message - String describing the error.
public DAIException(java.lang.String message,
org.apache.log4j.Logger logger)
String and logs an error specifying the concrete
Exception class and description string using the specified
Logger.
message - String describing the error.logger - Logger to use for error logging.
public DAIException(java.lang.String message,
java.lang.Throwable cause,
org.apache.log4j.Logger logger)
String and logs an error specifying the concrete
Exception class and description string using the specified
Logger.
message - String describing the error.cause - The cause of the exception. A null value is permitted,
and indicates that the cause is nonexistent or
unknown.logger - Logger to use for error logging.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||