public class RimAttributeException extends RimObjectException
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_PARAM
CTBFNDServiceException message parameter for attribute name.
|
static String |
ATTRIBUTE_VALUE_PARAM
CTBFNDServiceException message parameter for attribute value.
|
IIS_PARAM, TOKENS_PARAM
Constructor and Description |
---|
RimAttributeException(String[] tokens,
String[] values,
String attributeName,
ANY value,
String code,
String message,
oracle.hsgbu.hdr.hl7.fwk.adfextn.service.CTBFNDServiceException[] bundled)
Create a new RimAttributeException for the problem attribute
attributeName with value value on the Rim object identified by id and
tokens.
|
RimAttributeException(String code,
String message)
Constructs a new RimAttributeException
|
RimAttributeException(String code,
String message,
HDRRimException[] bundle)
Constructs a new RimAttributeException
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName()
The RIM name for the attribute which has failed validation.
|
ANY |
getAttributeValue()
The value of the attribute which has failed validation.
|
void |
setAttributeName(String name)
Sets the RIM name of the problem attribute.
|
void |
setAttributeValue(ANY value)
Sets the value of the problem attribute.
|
getIds, getTokens, getValues, setIds, setTokens, setValues
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 ATTRIBUTE_PARAM
public static final String ATTRIBUTE_VALUE_PARAM
public RimAttributeException(String[] tokens, String[] values, String attributeName, ANY value, String code, String message, oracle.hsgbu.hdr.hl7.fwk.adfextn.service.CTBFNDServiceException[] bundled)
tokens
- the user-supplied tokens for the problem object.values
- the user-supplied values for the problem object.value
- the RIM value causing the problem.code
- the exception codemessage
- the translated exception messagebundled
- bundled exceptions relating to this Rim Object.public RimAttributeException(String code, String message)
code
- the Exception Codemessage
- the exception messagepublic RimAttributeException(String code, String message, HDRRimException[] bundle)
code
- the Exception Codemessage
- the exception messagebundle
- any bundled Exceptionspublic String getAttributeName()
public void setAttributeName(String name)
name
- the RIM name of the problem attribute.public ANY getAttributeValue()
public void setAttributeValue(ANY value)
value
- the RIM data type value for the problem attribute.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved