|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-01 |
||||||||
| 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
oracle.alm.common.message.ALMException
public class ALMException
The ALMException provides the error reporting mechanism for connector writer to propogate errors inside connector to end user running Oracle Team Productivity Center (OTPC) inside JDeveloper. DocumentConnector and WorkItemConnector interface methods throw ALMException when something serious happens inside connector. Connector writer can put appropriate warning or message to the runtime instance of ALMException. OTPC client framework shows them to end user.
| Constructor Summary | |
|---|---|
ALMException() |
|
ALMException(java.lang.String method, java.lang.String message)Constructs a new exception with the specified detail message. |
|
ALMException(java.lang.String method, java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified detail message and cause. |
|
ALMException(java.lang.String method, java.lang.Throwable cause)Constructs a new exception with the specified cause. |
|
| Method Summary | |
|---|---|
javax.xml.namespace.QName |
getExceptionCode()Retrieves the exception code |
java.lang.String |
getMethod()Retrieves the method name |
void |
setExceptionCode(javax.xml.namespace.QName exceptionCode)Sets the exception code |
void |
setMethod(java.lang.String method)Sets the method name |
| 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 ALMException()
public ALMException(java.lang.String method,
java.lang.String message)
method - name of the method throws the exceptionmessage - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
public ALMException(java.lang.String method,
java.lang.String message,
java.lang.Throwable cause)
Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.
method - name of the method throws the exceptionmessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
public ALMException(java.lang.String method,
java.lang.Throwable cause)
method - name of the method throws the exceptioncause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)| Method Detail |
|---|
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
method - name of the method that throws the exceptionpublic void setExceptionCode(javax.xml.namespace.QName exceptionCode)
exceptionCode - the exception codepublic javax.xml.namespace.QName getExceptionCode()
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||