org.hl7.xml.validator
Class AssociationCardinalityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hl7.xml.validator.ValidatorException
org.hl7.xml.builder.FeatureException
org.hl7.xml.validator.FeatureCardinalityException
org.hl7.xml.validator.AssociationCardinalityException
- All Implemented Interfaces:
- java.io.Serializable
public class AssociationCardinalityException
- extends FeatureCardinalityException
Exception that is thrown when an association 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:
- Skirmantas Kligys
- 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 |
AssociationCardinalityException
public AssociationCardinalityException(Association association,
java.lang.String actualCardinality)
createMessage
protected static java.lang.String createMessage(Association association,
java.lang.String actualCardinality)
getActualCardinality
public java.lang.String getActualCardinality()
- Overrides:
getActualCardinality in class FeatureCardinalityException
- Returns:
- Returns the actual cardinality.