public class RimObjectException extends HDRRimValidationException
Modifier and Type | Field and Description |
---|---|
static String |
IIS_PARAM
CTBFNDServiceException message parameter used to store the Id field.
|
static String |
TOKENS_PARAM
CTBFNDServiceException message parameter used to store the Token field.
|
Constructor and Description |
---|
RimObjectException(String[] values,
String[] tokens,
String code,
String message,
oracle.hsgbu.hdr.hl7.fwk.adfextn.service.CTBFNDServiceException[] bundled)
Construct a new CTBRimObjectException with given id, tokens, code,
message, and bundled exceptions.
|
RimObjectException(String code,
String message)
Constructs a new RimObjectException
|
RimObjectException(String code,
String message,
HDRRimException[] bundle)
Constructs a new RimObjectException
|
Modifier and Type | Method and Description |
---|---|
SET<II> |
getIds()
Retrieve the ids set by the calling application on references to the
problem object, or on new versions of the same.
|
String[] |
getTokens()
Retrieve the tokens set by the calling application on references to the
problem object, or on new versions of the same.
|
String[] |
getValues()
Retrieve the values set by the calling application on references to the
problem object, or on new versions of the same.
|
void |
setIds(SET<II> ids)
Sets the ids for the offending object.
|
void |
setTokens(String[] tokens)
Sets the tokens for the offending object.
|
void |
setValues(String[] values)
Sets the values for the offending object.
|
addBundledException, getBundledExceptions, getDetailedExceptions, setBundledExceptions, setDetailedExceptions
getExceptionCode, getParameter, getTokenNames, getTokenValues, printStackTrace, setExceptionCode, setParameter, setTokenNames, setTokenValues, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
public static final String TOKENS_PARAM
public static final String IIS_PARAM
public RimObjectException(String[] values, String[] tokens, String code, String message, oracle.hsgbu.hdr.hl7.fwk.adfextn.service.CTBFNDServiceException[] bundled)
tokens
- the user-supplied tokens for the problem object.code
- the exception codemessage
- the translated exception messagebundled
- bundled exceptions relating to this Rim Object.public RimObjectException(String code, String message)
code
- the Exception Codemessage
- the exception messagepublic RimObjectException(String code, String message, HDRRimException[] bundle)
code
- the Exception Codemessage
- the exception messagebundle
- any bundled Exceptionspublic String[] getTokens()
public void setTokens(String[] tokens)
tokens
- the Tokens relevant to this exception.public String[] getValues()
public void setValues(String[] values)
values
- the token values relevant to this exception.public SET<II> getIds()
HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved