org.hl7.xml.validator
Class FeatureCardinalityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hl7.xml.validator.ValidatorException
org.hl7.xml.builder.FeatureException
org.hl7.xml.validator.FeatureCardinalityException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AssociationCardinalityException, AttributeCardinalityException
public class FeatureCardinalityException
- extends FeatureException
Exception that is thrown when an feature cardinality specified in HMD
and links present in RIM object are incompatible. May happen in the
following cases:
- HMD specifies cardinality 1..1 or 1..*, but link is not present
in RIM object.
- HMD specifies cardinality 0..1 or 0..*, but multiple links are
present in RIM object.
- Author:
- Eric Chen
- See Also:
- Serialized Form
| 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 |
FeatureCardinalityException
public FeatureCardinalityException(Feature feature,
java.lang.String actualCardinality)
createMessage
protected static java.lang.String createMessage(Feature feature,
java.lang.String actualCardinality)
getActualCardinality
public java.lang.String getActualCardinality()
- Returns:
- Returns the actual cardinality.