com.ihr.xbrl.om.errors
Class XBRLValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ihr.xbrl.om.errors.XBRLValidationException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- XBRLConsistencyAssertion.XFConsistencyAssertionInvalidFact, XBRLDuplicateArcroleException, XBRLDuplicateRoleException, XBRLValidationExceptionArcroleRefPointsToNonSchemaFile, XBRLValidationExceptionArcroleRefTargetIsNotSchema, XBRLValidationExceptionArcSourceErrorNoSourceFound, XBRLValidationExceptionArcSourceErrorUnreachableLocatorReference, XBRLValidationExceptionArcTargetErrorNoTargetFound, XBRLValidationExceptionArcTargetErrorUnreachableLocatorReference, XBRLValidationExceptionCantGetSchemaType, XBRLValidationExceptionConceptAmbiguousBalance, XBRLValidationExceptionConceptFactPeriodTypeMistmatch, XBRLValidationExceptionConceptLabelProhibitedInvalidTarget, XBRLValidationExceptionConceptLabelSourceIsNotConcept, XBRLValidationExceptionConceptLabelTargetIsNotLocalAndRelationshipIsNotProhibit, XBRLValidationExceptionConceptLabelTargetIsNotResource, XBRLValidationExceptionConceptMissingPeriodType, XBRLValidationExceptionConceptNotAssignedToFact, XBRLValidationExceptionConceptNotFoundCreatingFact, XBRLValidationExceptionConceptReferenceProhibitedInvalidTarget, XBRLValidationExceptionConceptReferenceSourceIsNotConcept, XBRLValidationExceptionConceptReferenceTargetIsNotLocalAndRelationshipIsNotProhibit, XBRLValidationExceptionConceptReferenceTargetIsNotResource, XBRLValidationExceptionContentModelException, XBRLValidationExceptionDateDateEndIsEarlierThanDateStart, XBRLValidationExceptionDateInvalidPeriodDates, XBRLValidationExceptionDateIsNotValidISO8601, XBRLValidationExceptionDuplicateUseOn, XBRLValidationExceptionElementDefinitionNotFoundInSchemas, XBRLValidationExceptionEncapsulateDTSDiscoveryException, XBRLValidationExceptionEncapsulateIOException, XBRLValidationExceptionEncapsulateLicenseVerificationException, XBRLValidationExceptionEncapsulateMalformedURLException, XBRLValidationExceptionEncapsulateSchemaException, XBRLValidationExceptionEncapsulateURISyntaxException, XBRLValidationExceptionEssenceAliasDifferentBalance, XBRLValidationExceptionEssenceAliasDifferentItemTypes, XBRLValidationExceptionEssenceAliasDifferentPeriodTypes, XBRLValidationExceptionEssenceAliasNonUEqual, XBRLValidationExceptionEssenceAliasNonVEqual, XBRLValidationExceptionEssenceAliasSourceNotItem, XBRLValidationExceptionEssenceAliasTargetNotItem, XBRLValidationExceptionExtendedLinkDoNotContainArcs, XBRLValidationExceptionFactError, XBRLValidationExceptionFactFootnotearcSourceNotFact, XBRLValidationExceptionFactFootnotearcSourceOutOfInstanceScope, XBRLValidationExceptionFactFootnotearcTargetNotResource, XBRLValidationExceptionFactFootnotearcTargetOutOfInstanceScope, XBRLValidationExceptionFactIsNillConceptIsNotNillable, XBRLValidationExceptionFootnoteLangMissing, XBRLValidationExceptionGeneralSpecialSourceNotItem, XBRLValidationExceptionGeneralSpecialTargetNotItem, XBRLValidationExceptionImportIsNotSchema, XBRLValidationExceptionIncludeIsNotSchema, XBRLValidationExceptionInvalidAttributeValue, XBRLValidationExceptionInvalidDirectedCyclesFound, XBRLValidationExceptionInvalidElementValueException, XBRLValidationExceptionInvalidNumberOfValuesForAttribute, XBRLValidationExceptionInvalidUndirectedCyclesFound, XBRLValidationExceptionInvalidXPointerSyntaxForXBRL, XBRLValidationExceptionISO4217UnitHasMoreUnits, XBRLValidationExceptionISO4217UnitHasWrongNamespace, XBRLValidationExceptionISO4217WrongLocalPart, XBRLValidationExceptionLabelInvalidResource, XBRLValidationExceptionLabelResourceLangMising, XBRLValidationExceptionMissingUnitForNumericFact, XBRLValidationExceptionMultipleArcroleTypeDefinitions, XBRLValidationExceptionMultipleRoleTypeDefinitions, XBRLValidationExceptionNumericValueHasDecimalsAndPrecision, XBRLValidationExceptionNumericValueHasNoDecimalsAndNoPrecision, XBRLValidationExceptionNumericValueIsNillAndHasDecimalsOrPrecision, XBRLValidationExceptionPreferredLabelLabelNotFound, XBRLValidationExceptionPreferredLabelRoleNotDefined, XBRLValidationExceptionRedefineError, XBRLValidationExceptionRequiresElementTargetNotFound, XBRLValidationExceptionRoleRefPointsToNonSchemaFile, XBRLValidationExceptionRoleRefTargetIsNotSchema, XBRLValidationExceptionScenarioContentErrorNamespace, XBRLValidationExceptionScenarioContentErrorSubstGroup, XBRLValidationExceptionSegmentContentErrorNamespace, XBRLValidationExceptionSegmentContentErrorSubstGroup, XBRLValidationExceptionSharesUnitHasMoreUnits, XBRLValidationExceptionSharesUnitHasWrongNamespace, XBRLValidationExceptionSharesWrongLocalPart, XBRLValidationExceptionSummationItemInvalidCreditDebit, XBRLValidationExceptionSummationItemInvalidWeightValue, XBRLValidationExceptionSummationItemSourceNotItem, XBRLValidationExceptionSummationItemSourceNotNumeric, XBRLValidationExceptionSummationItemTargetNotItem, XBRLValidationExceptionSummationItemTargetNotNumeric, XBRLValidationExceptionTargetIsNotConcept, XBRLValidationExceptionTargetIsNotContext, XBRLValidationExceptionTargetIsNotFact, XBRLValidationExceptionTargetIsNotUnit, XBRLValidationExceptionTupleContainsNonValidAttributes, XBRLValidationExceptionTupleContainsNonXBRLFacts, XBRLValidationExceptionUnitDeclarationInNamespaceMustBeSharesOrPure, XBRLValidationExceptionUnitsNotSimplifiedForm, XBRLValidationExceptionXLINKErrorDuplicateArcs, XBRLValidationExceptionXLINKErrorUnresolvableURI, XDTValidationException, XFValidationException
public class XBRLValidationException
- extends java.lang.Exception
Represents an XBRL Error according to the XBRL 2.1 specification
- Author:
- Ignacio
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERROR_OK
public static final int ERROR_OK
- See Also:
- Constant Field Values
DTS_DISCOVERY_EXCEPTION
public static final int DTS_DISCOVERY_EXCEPTION
- See Also:
- Constant Field Values
ENCAPSULATE_LICENSEVERIFICATION_EXCEPTION
public static final int ENCAPSULATE_LICENSEVERIFICATION_EXCEPTION
- See Also:
- Constant Field Values
CONTENT_MODEL_EXCEPTION
public static final int CONTENT_MODEL_EXCEPTION
- See Also:
- Constant Field Values
INVALID_ELEMENT_VALUE_EXCEPTION
public static final int INVALID_ELEMENT_VALUE_EXCEPTION
- See Also:
- Constant Field Values
ENCAPSULATE_DTS_DISCOVERY_EXCEPTION
public static final int ENCAPSULATE_DTS_DISCOVERY_EXCEPTION
- See Also:
- Constant Field Values
ENCAPSULATE_JAVA_EXCEPTION
public static final int ENCAPSULATE_JAVA_EXCEPTION
- See Also:
- Constant Field Values
ENCAPSULATE_XBRL_EXCEPTION
public static final int ENCAPSULATE_XBRL_EXCEPTION
- See Also:
- Constant Field Values
MULTIPLE_NON_SEQUAL_ROLE_TYPE_DEFINITIONS
public static final int MULTIPLE_NON_SEQUAL_ROLE_TYPE_DEFINITIONS
- See Also:
- Constant Field Values
MULTIPLE_NON_SEQUAL_ARCROLE_TYPE_DEFINITIONS
public static final int MULTIPLE_NON_SEQUAL_ARCROLE_TYPE_DEFINITIONS
- See Also:
- Constant Field Values
PURE_RUNTIME_EXCEPTION
public static final int PURE_RUNTIME_EXCEPTION
- See Also:
- Constant Field Values
INVALID_DIRECTED_CYCLES_FOUND
public static final int INVALID_DIRECTED_CYCLES_FOUND
- See Also:
- Constant Field Values
INVALID_UNDIRECTED_CYCLES_FOUND
public static final int INVALID_UNDIRECTED_CYCLES_FOUND
- See Also:
- Constant Field Values
ESSENCE_ALIAS_NON_UEQUAL
public static final int ESSENCE_ALIAS_NON_UEQUAL
- See Also:
- Constant Field Values
ESSENCE_ALIAS_NON_VEQUAL
public static final int ESSENCE_ALIAS_NON_VEQUAL
- See Also:
- Constant Field Values
SUMMATION_ITEM_TARGET_NOT_ITEM
public static final int SUMMATION_ITEM_TARGET_NOT_ITEM
- See Also:
- Constant Field Values
SUMMATION_ITEM_TARGET_NOT_NUMERIC
public static final int SUMMATION_ITEM_TARGET_NOT_NUMERIC
- See Also:
- Constant Field Values
REQUIRES_ELEMENT_TARGET_NOT_FOUND
public static final int REQUIRES_ELEMENT_TARGET_NOT_FOUND
- See Also:
- Constant Field Values
ROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
public static final int ROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
- See Also:
- Constant Field Values
ARCROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
public static final int ARCROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
- See Also:
- Constant Field Values
INCONSISTENCY_AS_EXCEPTION
public static final int INCONSISTENCY_AS_EXCEPTION
- See Also:
- Constant Field Values
INCONSISTENT_DTS_OPERATION_EXCEPTION
public static final int INCONSISTENT_DTS_OPERATION_EXCEPTION
- See Also:
- Constant Field Values
INVALID_NUMBER_OF_VALUES_FOR_ATTRIBUTE
public static final int INVALID_NUMBER_OF_VALUES_FOR_ATTRIBUTE
- See Also:
- Constant Field Values
INVALID_ATTRIBUTE_VALUE
public static final int INVALID_ATTRIBUTE_VALUE
- See Also:
- Constant Field Values
INVALID_XPOINTER_FOR_XBRL
public static final int INVALID_XPOINTER_FOR_XBRL
- See Also:
- Constant Field Values
SCHEMA_EXCEPTION
public static final int SCHEMA_EXCEPTION
- See Also:
- Constant Field Values
ENCAPSULATE_XPATH_EXCEPTION
public static final int ENCAPSULATE_XPATH_EXCEPTION
- See Also:
- Constant Field Values
SUMMATION_ITEM_SOURCE_NOT_ITEM
public static final int SUMMATION_ITEM_SOURCE_NOT_ITEM
- See Also:
- Constant Field Values
SUMMATION_ITEM_SOURCE_NOT_NUMERIC
public static final int SUMMATION_ITEM_SOURCE_NOT_NUMERIC
- See Also:
- Constant Field Values
SUMMATION_ITEM_INVALID_WEIGHT_VALUE
public static final int SUMMATION_ITEM_INVALID_WEIGHT_VALUE
- See Also:
- Constant Field Values
SUMMATION_ITEM_INVALID_DEBIT_CREDIT_RELATIONSHIP
public static final int SUMMATION_ITEM_INVALID_DEBIT_CREDIT_RELATIONSHIP
- See Also:
- Constant Field Values
GENERAL_SPECIAL_SOURCE_NOT_ITEM
public static final int GENERAL_SPECIAL_SOURCE_NOT_ITEM
- See Also:
- Constant Field Values
GENERAL_SPECIAL_TARGET_NOT_ITEM
public static final int GENERAL_SPECIAL_TARGET_NOT_ITEM
- See Also:
- Constant Field Values
ESSENCE_ALIAS_SOURCE_NOT_ITEM
public static final int ESSENCE_ALIAS_SOURCE_NOT_ITEM
- See Also:
- Constant Field Values
ESSENCE_ALIAS_TARGET_NOT_ITEM
public static final int ESSENCE_ALIAS_TARGET_NOT_ITEM
- See Also:
- Constant Field Values
ESSENCE_ALIAS_DIFFERENT_ITEM_TYPES
public static final int ESSENCE_ALIAS_DIFFERENT_ITEM_TYPES
- See Also:
- Constant Field Values
ESSENCE_ALIAS_DIFFERENT_PERIOD_TYPES
public static final int ESSENCE_ALIAS_DIFFERENT_PERIOD_TYPES
- See Also:
- Constant Field Values
ESSENCE_ALIAS_DIFFERENT_BALANCE
public static final int ESSENCE_ALIAS_DIFFERENT_BALANCE
- See Also:
- Constant Field Values
XLINK_ERROR_DUPLICATE_ARCS
public static final int XLINK_ERROR_DUPLICATE_ARCS
- See Also:
- Constant Field Values
FACT_FOOTNOTEARC_SOURCE_NOT_FACT
public static final int FACT_FOOTNOTEARC_SOURCE_NOT_FACT
- See Also:
- Constant Field Values
FACT_FOOTNOTEARC_SOURCE_OUT_OF_INSTANCE
public static final int FACT_FOOTNOTEARC_SOURCE_OUT_OF_INSTANCE
- See Also:
- Constant Field Values
FACT_FOOTNOTEARC_TARGET_NOT_RESOURCE
public static final int FACT_FOOTNOTEARC_TARGET_NOT_RESOURCE
- See Also:
- Constant Field Values
FACT_FOOTNOTEARC_TARGET_OUT_OF_INSTANCE
public static final int FACT_FOOTNOTEARC_TARGET_OUT_OF_INSTANCE
- See Also:
- Constant Field Values
FOOTNOTE_MISSING_LANG
public static final int FOOTNOTE_MISSING_LANG
- See Also:
- Constant Field Values
CONCEPT_LABEL_TARGET_INVALID
public static final int CONCEPT_LABEL_TARGET_INVALID
- See Also:
- Constant Field Values
CONCEPT_LABEL_SOURCE_IS_NOT_CONCEPT
public static final int CONCEPT_LABEL_SOURCE_IS_NOT_CONCEPT
- See Also:
- Constant Field Values
CONCEPT_LABEL_TARGET_IS_NOT_RESOURCE
public static final int CONCEPT_LABEL_TARGET_IS_NOT_RESOURCE
- See Also:
- Constant Field Values
CONCEPT_LABEL_TARGET_IS_NOT_LOCAL_AND_RELATIONSHIP_IS_NOT_PROHIBITED
public static final int CONCEPT_LABEL_TARGET_IS_NOT_LOCAL_AND_RELATIONSHIP_IS_NOT_PROHIBITED
- See Also:
- Constant Field Values
PREFERRED_LABEL_ROLE_TYPE_NOT_DEFINED
public static final int PREFERRED_LABEL_ROLE_TYPE_NOT_DEFINED
- See Also:
- Constant Field Values
NO_LABEL_FOR_PREFERRED_LABELROLE
public static final int NO_LABEL_FOR_PREFERRED_LABELROLE
- See Also:
- Constant Field Values
CONCEPT_REFERENCE_TARGET_INVALID
public static final int CONCEPT_REFERENCE_TARGET_INVALID
- See Also:
- Constant Field Values
CONCEPT_REFERENCE_SOURCE_IS_NOT_CONCEPT
public static final int CONCEPT_REFERENCE_SOURCE_IS_NOT_CONCEPT
- See Also:
- Constant Field Values
CONCEPT_REFERENCE_TARGET_NOT_RESOURCE
public static final int CONCEPT_REFERENCE_TARGET_NOT_RESOURCE
- See Also:
- Constant Field Values
CONCEPT_REFERENCE_TARGET_IS_NOT_LOCAL_AND_RELATIONSHIP_IS_NOT_PROHIBITED
public static final int CONCEPT_REFERENCE_TARGET_IS_NOT_LOCAL_AND_RELATIONSHIP_IS_NOT_PROHIBITED
- See Also:
- Constant Field Values
ARC_SOURCE_ERROR
public static final int ARC_SOURCE_ERROR
- See Also:
- Constant Field Values
ARC_TARGET_ERROR
public static final int ARC_TARGET_ERROR
- See Also:
- Constant Field Values
ROLE_TYPE_UNRESOLVABLE
public static final int ROLE_TYPE_UNRESOLVABLE
- See Also:
- Constant Field Values
ARCROLE_TYPE_UNRESOLVABLE
public static final int ARCROLE_TYPE_UNRESOLVABLE
- See Also:
- Constant Field Values
UNREADABLE_DOCUMENT
public static final int UNREADABLE_DOCUMENT
- See Also:
- Constant Field Values
LABEL_MISSING_LANG
public static final int LABEL_MISSING_LANG
- See Also:
- Constant Field Values
LABEL_INVALID_RESOURCE
public static final int LABEL_INVALID_RESOURCE
- See Also:
- Constant Field Values
XLINK_ERROR_UNRESOLVABLE_URI
public static final int XLINK_ERROR_UNRESOLVABLE_URI
- See Also:
- Constant Field Values
XLINK_ERROR_TARGET_IS_NOT_SCHEMA
public static final int XLINK_ERROR_TARGET_IS_NOT_SCHEMA
- See Also:
- Constant Field Values
XLINK_ERROR
public static final int XLINK_ERROR
- See Also:
- Constant Field Values
SEGMENT_INVALID_CONTENT
public static final int SEGMENT_INVALID_CONTENT
- See Also:
- Constant Field Values
SCENARIO_INVALID_CONTENT
public static final int SCENARIO_INVALID_CONTENT
- See Also:
- Constant Field Values
CONCEPT_NOT_FOUND
public static final int CONCEPT_NOT_FOUND
- See Also:
- Constant Field Values
CONCEPT_PERIOD_TYPE_MISTMATCH
public static final int CONCEPT_PERIOD_TYPE_MISTMATCH
- See Also:
- Constant Field Values
CONCEPT_NUMERIC_MISSING_UNIT
public static final int CONCEPT_NUMERIC_MISSING_UNIT
- See Also:
- Constant Field Values
FACT_NO_DECIMALS_NO_PRECISION
public static final int FACT_NO_DECIMALS_NO_PRECISION
- See Also:
- Constant Field Values
FACT_ERROR
public static final int FACT_ERROR
- See Also:
- Constant Field Values
UNIT_ERROR
public static final int UNIT_ERROR
- See Also:
- Constant Field Values
FACT_DECIMALS_AND_PRECISION
public static final int FACT_DECIMALS_AND_PRECISION
- See Also:
- Constant Field Values
FACT_NILLED_HAS_DECIMALS_OR_PRECISION
public static final int FACT_NILLED_HAS_DECIMALS_OR_PRECISION
- See Also:
- Constant Field Values
TUPLE_INVALID_ATTRIBUTE
public static final int TUPLE_INVALID_ATTRIBUTE
- See Also:
- Constant Field Values
TUPLE_INVALID_CONTENT
public static final int TUPLE_INVALID_CONTENT
- See Also:
- Constant Field Values
TARGET_IS_NOT_FACT
public static final int TARGET_IS_NOT_FACT
- See Also:
- Constant Field Values
TARGET_IS_NOT_CONTEXT
public static final int TARGET_IS_NOT_CONTEXT
- See Also:
- Constant Field Values
TARGET_IS_NOT_UNIT
public static final int TARGET_IS_NOT_UNIT
- See Also:
- Constant Field Values
TARGET_IS_NOT_CONCEPT
public static final int TARGET_IS_NOT_CONCEPT
- See Also:
- Constant Field Values
NUMERIC_VALUE_CANT_GET_TYPE_ERROR
public static final int NUMERIC_VALUE_CANT_GET_TYPE_ERROR
- See Also:
- Constant Field Values
PERIOD_DATES_INVALID
public static final int PERIOD_DATES_INVALID
- See Also:
- Constant Field Values
CONCEPT_INVALID_TYPE
public static final int CONCEPT_INVALID_TYPE
- See Also:
- Constant Field Values
CONCEPT_MISSING_PERIODTYPE
public static final int CONCEPT_MISSING_PERIODTYPE
- See Also:
- Constant Field Values
CONCEPT_BALANCE_AMBIGUOUS
public static final int CONCEPT_BALANCE_AMBIGUOUS
- See Also:
- Constant Field Values
DUPLICATE_USED_ON
public static final int DUPLICATE_USED_ON
- See Also:
- Constant Field Values
DUPLICATE_EXCEPTION
public static final int DUPLICATE_EXCEPTION
- See Also:
- Constant Field Values
REDEFINE_ERROR
public static final int REDEFINE_ERROR
- See Also:
- Constant Field Values
DUPLICATE_ROLEREF_EXCEPTION
public static final int DUPLICATE_ROLEREF_EXCEPTION
- See Also:
- Constant Field Values
DUPLICATE_ARCROLEREF_EXCEPTION
public static final int DUPLICATE_ARCROLEREF_EXCEPTION
- See Also:
- Constant Field Values
XDT_EXCEPTION
public static final int XDT_EXCEPTION
- See Also:
- Constant Field Values
FORMULA_PROCESSOR_EXCEPTION
public static final int FORMULA_PROCESSOR_EXCEPTION
- See Also:
- Constant Field Values
XBRL_RS_TOOL_SPECIFIC_ERROR_BASE
public static final int XBRL_RS_TOOL_SPECIFIC_ERROR_BASE
- See Also:
- Constant Field Values
RS_NO_FILES_TO_LOAD
public static final int RS_NO_FILES_TO_LOAD
- See Also:
- Constant Field Values
OK
public static XBRLValidationException OK
XBRLValidationException
public XBRLValidationException(int code,
java.lang.String message)
XBRLValidationException
public XBRLValidationException(int code,
java.lang.Exception e)
XBRLValidationException
public XBRLValidationException(int code,
java.lang.String message,
java.lang.Throwable cause)
XBRLValidationException
public XBRLValidationException(int code,
java.lang.Throwable cause)
XBRLValidationException
public XBRLValidationException(int code,
javax.xml.namespace.QName qError,
java.lang.String string)
- Parameters:
qError - QName of the errorstring - the error description
XBRLValidationException
public XBRLValidationException(java.lang.String message,
XBRLValidationException other)
- Generates a validation exception with a nested validation exception. This is for example
to indicate that validating a fact, the fact unit has an error. Note the error in the
unit will be another XBRLValidationException.
The exception code will be the parent's exception code.
- Parameters:
message - other -
getQNameError
public javax.xml.namespace.QName getQNameError()
- Returns:
- QName
getCode
public int getCode()
documentException
public static java.lang.String documentException(java.lang.Throwable e)
addPrefixMessage
public void addPrefixMessage(java.lang.String message)
addSuffixMessage
public void addSuffixMessage(java.lang.String message)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa