|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.interfaces.data.CheckResponse
public class CheckResponse
An instance of this class contains the response from a
IOdiInterfaceExpressionChecker
checker. The checker validates an
expression owned by an interface subcomponent, and returns a status code and error text.
Nested Class Summary | |
---|---|
static class |
CheckResponse.Response
An enumeration of the possible response results from checking an expression. |
Method Summary | |
---|---|
static CheckResponse |
buildConnectionNotFoundResponse(java.lang.String pErrorText)
For internal use only. |
static CheckResponse |
buildConnectionProblemResponse(java.lang.Throwable pThrowable)
For internal use only. |
static CheckResponse |
buildDBErrorResponse(java.sql.SQLException pSQLException)
For internal use only. |
static CheckResponse |
buildInternalErrorResponse(java.lang.String pErrorText,
java.lang.Throwable pThrowable)
For internal use only. |
static CheckResponse |
buildOKResponse()
For internal use only. |
java.lang.String |
getErrorText()
Get the error text associated with the error for this check expression response, of null if there is no error. |
CheckResponse.Response |
getResponse()
Get the response code for this check expression response. |
java.sql.SQLException |
getSQLException()
Get the SQLException exception associated with the error for this check expression
response, or null if there is no error. |
java.lang.Throwable |
getThrowable()
Get the Throwable exception associated with the error for this check expression
response, or null if there is no error. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CheckResponse buildConnectionNotFoundResponse(java.lang.String pErrorText)
pErrorText
- The error text describing the errors when creating the connection.
public static CheckResponse buildConnectionProblemResponse(java.lang.Throwable pThrowable)
pThrowable
- The throwable that was thrown when validating the expression.
public static CheckResponse buildDBErrorResponse(java.sql.SQLException pSQLException)
pSQLException
- The SQLException
that was thrown when validating the expression.
public static CheckResponse buildInternalErrorResponse(java.lang.String pErrorText, java.lang.Throwable pThrowable)
pErrorText
- The error text describing the errors found when validating the expression.pThrowable
- The throwable exception thrown when validating the expression, or null if none was thrown.
public static CheckResponse buildOKResponse()
OK
.public java.lang.String getErrorText()
public CheckResponse.Response getResponse()
Response
enumeration value.public java.sql.SQLException getSQLException()
SQLException
exception associated with the error for this check expression
response, or null if there is no error.
SQLException
instance.public java.lang.Throwable getThrowable()
Throwable
exception associated with the error for this check expression
response, or null if there is no error.
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |