|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 2 (11.1.2.2.0) E17494-03 |
||||||||
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
is the class that encapsulates an exception thrown in TPC connector code. Methods defined in TPC connector interfaces (DocumentConnector, WorkItemConnector, etc) throw ALMException
. ALMExceptions thrown in connector code will be propogated to TPC IDE client and show to end user through TPC client/connector integration framework.
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 2 (11.1.2.2.0) E17494-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |