|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.importExport.model.content.common.ErrorMessageHelper
public class ErrorMessageHelper
Constants containing the error message text. Initially developed to consolidate the errors reported at the model layer.
Field Summary | |
---|---|
static java.lang.String |
ERROR_CODE
Generic error code used for Applcore Exceptions. |
static java.lang.String |
GET_JCR_SESSION_ERROR
|
static java.lang.String |
IDCCLIENT_ERROR
|
static java.lang.String |
IO_READ_RESET_ERROR
|
static java.lang.String |
NO_PRIMARY_CONNECTION_ERROR
|
static java.lang.String |
UNEXPECTED_FIELD_CODE_ERROR
|
Constructor Summary | |
---|---|
ErrorMessageHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getBadDataErrorMessage(java.lang.String prefix,
java.lang.String comments)
Return the localized error message when unexpected data is found in the comments field of a document in Content Repository. |
static oracle.jbo.JboException |
throwCodeException(java.lang.String message)
Throw a non-formattable, non-localizable JboException in cases where the error can only occur due to incorrect code or in tests. |
static void |
throwCodeException(java.lang.String message,
java.lang.Object[] messageArguments)
Throw a formattable but non-localizable JboException in cases where the error can only occur due to incorrect code or in tests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ERROR_CODE
public static final java.lang.String UNEXPECTED_FIELD_CODE_ERROR
public static final java.lang.String NO_PRIMARY_CONNECTION_ERROR
public static final java.lang.String IDCCLIENT_ERROR
public static final java.lang.String GET_JCR_SESSION_ERROR
public static final java.lang.String IO_READ_RESET_ERROR
Constructor Detail |
---|
public ErrorMessageHelper()
Method Detail |
---|
public static oracle.jbo.JboException throwCodeException(java.lang.String message)
message
- Non-translated error description. Values can be passed in
using numbered braces. eg. {0} will be replaced by messageArguments[0], etc.public static void throwCodeException(java.lang.String message, java.lang.Object[] messageArguments)
message
- Non-translated error description. Values can be passed in
using numbered braces. eg. {0} will be replaced by messageArguments[0], etc.messageArguments
- dynamic data to be passed in when the exception is
created. eg. messageArgumates[1] will replace {1} in the messagepublic static java.lang.String getBadDataErrorMessage(java.lang.String prefix, java.lang.String comments)
prefix
- the expected value for the prefixcomments
- the value found in the comments field
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |