public class XBRLValidationException extends java.lang.Exception implements java.lang.Comparable<XBRLValidationException>, XBRLValidationErrorReport
XBRLValidationErrorReport.ErrorSeverity, XBRLValidationErrorReport.ErrorValueKey
Modifier and Type | Field and Description |
---|---|
static int |
ARC_SOURCE_ERROR
The Constant CONCEPT_REFERENCE_SOURCE_IS_NOT_CONCEPT.
|
static int |
ARC_TARGET_ERROR
The Constant ARC_TARGET_ERROR.
|
static int |
ARCROLE_TYPE_NOT_DECLARED_USED_ON
The Constant ARCROLE_TYPE_NOT_DECLARED_USED_ON.
|
static int |
ARCROLE_TYPE_UNRESOLVABLE
The Constant ARCROLE_TYPE_UNRESOLVABLE.
|
static int |
ARCROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
The Constant ARCROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA.
|
static int |
CONCEPT_BALANCE_AMBIGUOUS
The Constant CONCEPT_BALANCE_AMBIGUOUS.
|
static int |
CONCEPT_INVALID_TYPE
The Constant CONCEPT_INVALID_TYPE.
|
static int |
CONCEPT_MISSING_PERIODTYPE
The Constant CONCEPT_MISSING_PERIODTYPE.
|
static int |
CONCEPT_NOT_FOUND
The Constant CONCEPT_NOT_FOUND.
|
static int |
CONCEPT_NUMERIC_MISSING_UNIT
The Constant CONCEPT_NUMERIC_MISSING_UNIT.
|
static int |
CONCEPT_PERIOD_TYPE_MISTMATCH
The Constant CONCEPT_PERIOD_TYPE_MISTMATCH.
|
static int |
CONTENT_MODEL_EXCEPTION
The Constant CONTENT_MODEL_EXCEPTION.
|
static int |
DTS_DISCOVERY_EXCEPTION
The Constant DTS_DISCOVERY_EXCEPTION.
|
static int |
DUPLICATE_ARCROLEREF_EXCEPTION
The Constant DUPLICATE_ARCROLEREF_EXCEPTION.
|
static int |
DUPLICATE_EXCEPTION
The Constant DUPLICATE_EXCEPTION.
|
static int |
DUPLICATE_ROLEREF_EXCEPTION
The Constant DUPLICATE_ROLEREF_EXCEPTION.
|
static int |
DUPLICATE_USED_ON
The Constant DUPLICATE_USED_ON.
|
static int |
ENCAPSULATE_DTS_DISCOVERY_EXCEPTION
The Constant ENCAPSULATE_DTS_DISCOVERY_EXCEPTION.
|
static int |
ENCAPSULATE_JAVA_EXCEPTION
The Constant ENCAPSULATE_JAVA_EXCEPTION.
|
static int |
ENCAPSULATE_LICENSEVERIFICATION_EXCEPTION
The Constant ENCAPSULATE_LICENSEVERIFICATION_EXCEPTION.
|
static int |
ENCAPSULATE_XBRL_EXCEPTION
The Constant ENCAPSULATE_XBRL_EXCEPTION.
|
static int |
ENCAPSULATE_XML_EXCEPTION
The Constant ENCAPSULATE_XML_EXCEPTION.
|
static int |
ENCAPSULATE_XPATH_EXCEPTION
The Constant ENCAPSULATE_XPATH_EXCEPTION.
|
static int |
ERROR_OK
The Constant ERROR_OK.
|
static int |
ESSENCE_ALIAS_DIFFERENT_BALANCE
The Constant ESSENCE_ALIAS_DIFFERENT_BALANCE.
|
static int |
ESSENCE_ALIAS_DIFFERENT_ITEM_TYPES
The Constant ESSENCE_ALIAS_DIFFERENT_ITEM_TYPES.
|
static int |
ESSENCE_ALIAS_DIFFERENT_PERIOD_TYPES
The Constant ESSENCE_ALIAS_DIFFERENT_PERIOD_TYPES.
|
static int |
ESSENCE_ALIAS_NON_UEQUAL
The Constant ESSENCE_ALIAS_NON_UEQUAL.
|
static int |
ESSENCE_ALIAS_NON_VEQUAL
The Constant ESSENCE_ALIAS_NON_VEQUAL.
|
static int |
EXTENSIBLE_ENUMERATIONS_EXCEPTION_BASE
The Constant EXTENSIBLE_ENUMERATIONS_EXCEPTION_BASE.
|
static int |
FACT_DECIMALS_AND_PRECISION
The Constant FACT_DECIMALS_AND_PRECISION.
|
static int |
FACT_ERROR
The Constant FACT_ERROR.
|
static int |
FACT_NILLED_HAS_DECIMALS_OR_PRECISION
The Constant FACT_NILLED_HAS_DECIMALS_OR_PRECISION.
|
static int |
FACT_NO_DECIMALS_NO_PRECISION
The Constant FACT_NO_DECIMALS_NO_PRECISION.
|
static int |
FOOTNOTE_MISSING_LANG
The Constant FOOTNOTE_MISSING_LANG.
|
static int |
FORMULA_PROCESSOR_EXCEPTION
The Constant FORMULA_PROCESSOR_EXCEPTION.
|
static int |
FRTA_EXCEPTION_BASE
The Constant FRTA_EXCEPTION_BASE.
|
static int |
GENERIC_LINKBASE_ELEMENT_LABEL_INVALID_TARGET
The Constant GENERIC_LINKBASE_ELEMENT_LABEL_INVALID_TARGET.
|
static int |
GENERIC_LINKBASE_ELEMENT_REFERENCE_INVALID_TARGET
The Constant GENERIC_LINKBASE_ELEMENT_REFERENCE_INVALID_TARGET.
|
static int |
GENERIC_LINKBASE_EXCEPTION_BASE
The Constant GENERIC_LINKBASE_EXCEPTION_BASE.
|
static int |
GENERIC_LINKBASE_INVALID_ARCROLE_URI
The Constant GENERIC_LINKBASE_INVALID_ARCROLE_URI.
|
static int |
GENERIC_LINKBASE_INVALID_ROLE_URI
The Constant GENERIC_LINKBASE_INVALID_ROLE_URI.
|
static int |
INCONSISTENCY_AS_EXCEPTION
The Constant INCONSISTENCY_AS_EXCEPTION.
|
static int |
INCONSISTENT_DTS_OPERATION_EXCEPTION
The Constant INCONSISTENT_DTS_OPERATION_EXCEPTION.
|
static int |
INVALID_ATTRIBUTE_VALUE
The Constant INVALID_ATTRIBUTE_VALUE.
|
static int |
INVALID_DIRECTED_CYCLES_FOUND
The Constant INVALID_DIRECTED_CYCLES_FOUND.
|
static int |
INVALID_ELEMENT_VALUE_EXCEPTION
The Constant INVALID_ELEMENT_VALUE_EXCEPTION.
|
static int |
INVALID_LOCATOR_FOUND
The Constant INVALID_LOCATOR_FOUND.
|
static int |
INVALID_NUMBER_OF_VALUES_FOR_ATTRIBUTE
The Constant INVALID_NUMBER_OF_VALUES_FOR_ATTRIBUTE.
|
static int |
INVALID_UNDIRECTED_CYCLES_FOUND
The Constant INVALID_UNDIRECTED_CYCLES_FOUND.
|
static int |
INVALID_URI_IN_HREF
The Constant INVALID_URI_IN_HREF.
|
static int |
INVALID_XPOINTER_FOR_XBRL
The Constant INVALID_XPOINTER_FOR_XBRL.
|
static int |
LABEL_INVALID_RESOURCE
The Constant LABEL_INVALID_RESOURCE.
|
static int |
LABEL_MISSING_LANG
The Constant LABEL_MISSING_LANG.
|
static int |
MAPPER_FACT_ERROR
The Constant MAPPER_FACT_ERROR.
|
static int |
MULTIPLE_NON_SEQUAL_ARCROLE_TYPE_DEFINITIONS
The Constant MULTIPLE_NON_SEQUAL_ARCROLE_TYPE_DEFINITIONS.
|
static int |
MULTIPLE_NON_SEQUAL_ROLE_TYPE_DEFINITIONS
The Constant MULTIPLE_NON_SEQUAL_ROLE_TYPE_DEFINITIONS.
|
static int |
NO_LABEL_FOR_PREFERRED_LABELROLE
The Constant NO_LABEL_FOR_PREFERRED_LABELROLE.
|
static int |
NUMERIC_FACT_UTR_INVALID
The Constant NUMERIC_FACT_UTR_INVALID.
|
static int |
NUMERIC_VALUE_CANT_GET_TYPE_ERROR
The Constant NUMERIC_VALUE_CANT_GET_TYPE_ERROR.
|
static XBRLValidationException |
OK
The ok.
|
static int |
PERIOD_DATES_INVALID
The Constant PERIOD_DATES_INVALID.
|
static int |
PREFERRED_LABEL_ROLE_TYPE_NOT_DEFINED
The Constant PREFERRED_LABEL_ROLE_TYPE_NOT_DEFINED.
|
static int |
PURE_RUNTIME_EXCEPTION
The Constant PURE_RUNTIME_EXCEPTION.
|
static int |
REDEFINE_ERROR
The Constant REDEFINE_ERROR.
|
static int |
ROLE_TYPE_NOT_DECLARED_USED_ON
The Constant ROLE_TYPE_NOT_DECLARED_USED_ON.
|
static int |
ROLE_TYPE_UNRESOLVABLE
The Constant ROLE_TYPE_UNRESOLVABLE.
|
static int |
ROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
The Constant ROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA.
|
static int |
RS_NO_FILES_TO_LOAD
The Constant RS_NO_FILES_TO_LOAD.
|
static int |
SCENARIO_INVALID_CONTENT
The Constant SCENARIO_INVALID_CONTENT.
|
static int |
SCHEMA_EXCEPTION
The Constant SCHEMA_EXCEPTION.
|
static int |
SEGMENT_INVALID_CONTENT
The Constant SEGMENT_INVALID_CONTENT.
|
static int |
SUMMATION_ITEM_INVALID_DEBIT_CREDIT_RELATIONSHIP
The Constant SUMMATION_ITEM_INVALID_DEBIT_CREDIT_RELATIONSHIP.
|
static int |
SUMMATION_ITEM_INVALID_WEIGHT_VALUE
The Constant SUMMATION_ITEM_INVALID_WEIGHT_VALUE.
|
static int |
TABLE_PROCESSOR_EXCEPTION
The Constant TABLE_PROCESSOR_EXCEPTION.
|
static int |
TARGET_IS_NOT_CONCEPT
The Constant TARGET_IS_NOT_CONCEPT.
|
static int |
TARGET_IS_NOT_CONTEXT
The Constant TARGET_IS_NOT_CONTEXT.
|
static int |
TARGET_IS_NOT_FACT
The Constant TARGET_IS_NOT_FACT.
|
static int |
TARGET_IS_NOT_UNIT
The Constant TARGET_IS_NOT_UNIT.
|
static int |
TAXONOMY_PACKAGES_EXCEPTION
The Constant TAXONOMY_PACKAGES_EXCEPTION.
|
static int |
TUPLE_INVALID_ATTRIBUTE
The Constant TUPLE_INVALID_ATTRIBUTE.
|
static int |
TUPLE_INVALID_CONTENT
The Constant TUPLE_INVALID_CONTENT.
|
static int |
UNIT_ERROR
The Constant UNIT_ERROR.
|
static int |
UNREADABLE_DOCUMENT
The Constant UNREADABLE_DOCUMENT.
|
static int |
URI_MUST_BE_ABSOLUTE
The Constant URI_MUST_BE_ABSOLUTE.
|
static int |
XBRL_RS_TOOL_SPECIFIC_ERROR_BASE
The Constant XBRL_RS_TOOL_SPECIFIC_ERROR_BASE.
|
static int |
XDT_EXCEPTION
The Constant XDT_EXCEPTION.
|
static int |
XLINK_ERROR
The Constant XLINK_ERROR.
|
static int |
XLINK_ERROR_DUPLICATE_ARCS
The Constant XLINK_ERROR_DUPLICATE_ARCS.
|
static int |
XLINK_ERROR_TARGET_IS_NOT_SCHEMA
The Constant XLINK_ERROR_TARGET_IS_NOT_SCHEMA.
|
static int |
XLINK_ERROR_UNRESOLVABLE_URI
The Constant XLINK_ERROR_UNRESOLVABLE_URI.
|
Constructor and Description |
---|
XBRLValidationException(int code,
java.lang.Exception e)
Instantiates a new XBRL validation exception.
|
XBRLValidationException(int code,
javax.xml.namespace.QName qError,
java.lang.String message)
Instantiates a new XBRL validation exception.
|
XBRLValidationException(int code,
javax.xml.namespace.QName qError,
java.lang.String string,
java.lang.Throwable cause)
Instantiates a new XBRL validation exception.
|
XBRLValidationException(int code,
java.lang.String message)
Instantiates a new XBRL validation exception.
|
XBRLValidationException(int code,
java.lang.String message,
java.lang.Throwable cause)
Instantiates a new XBRL validation exception.
|
XBRLValidationException(int code,
java.lang.Throwable cause)
Instantiates a new XBRL validation exception.
|
XBRLValidationException(java.lang.String message,
XBRLValidationException other)
Generates a validation exception with a nested validation exception.
|
Modifier and Type | Method and Description |
---|---|
void |
addPrefixMessage(java.lang.String message)
Adds the prefix message.
|
void |
addSuffixMessage(java.lang.String message)
Adds the suffix message.
|
static java.lang.String |
cleanErrorClassName(java.lang.Exception e)
returns just the class name without the package name and in the error ends with "Exception"
that part is elinimated
|
int |
compareTo(XBRLValidationException o)
Compare to.
|
static java.lang.String |
documentException(java.lang.Throwable e)
Document exception.
|
static java.lang.String |
documentException(java.lang.Throwable e,
boolean includeExceptionClassName)
Document exception.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
int |
getCode()
Gets the code.
|
java.lang.String |
getMessage()
Gets the message.
|
javax.xml.namespace.QName |
getQNameError()
Gets the q name error.
|
java.util.EnumMap<XBRLValidationErrorReport.ErrorValueKey,java.lang.Object> |
getValidationReportData() |
int |
hashCode()
Hash code.
|
static void |
setMaxMessageLength(int newLength)
Change the maximum error message length.
|
public static final int ERROR_OK
public static final int DTS_DISCOVERY_EXCEPTION
public static final int ARC_SOURCE_ERROR
public static final int FACT_ERROR
public static final int ENCAPSULATE_LICENSEVERIFICATION_EXCEPTION
public static final int CONTENT_MODEL_EXCEPTION
public static final int INVALID_ELEMENT_VALUE_EXCEPTION
public static final int LABEL_INVALID_RESOURCE
public static final int ROLE_TYPE_NOT_DECLARED_USED_ON
public static final int ARCROLE_TYPE_NOT_DECLARED_USED_ON
public static final int ENCAPSULATE_DTS_DISCOVERY_EXCEPTION
public static final int ENCAPSULATE_JAVA_EXCEPTION
public static final int MULTIPLE_NON_SEQUAL_ROLE_TYPE_DEFINITIONS
public static final int MULTIPLE_NON_SEQUAL_ARCROLE_TYPE_DEFINITIONS
public static final int PURE_RUNTIME_EXCEPTION
public static final int INVALID_DIRECTED_CYCLES_FOUND
public static final int INVALID_UNDIRECTED_CYCLES_FOUND
public static final int ESSENCE_ALIAS_NON_UEQUAL
public static final int ESSENCE_ALIAS_NON_VEQUAL
public static final int ROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
public static final int ARCROLEREF_POINTS_TO_NON_TAXONOMY_SCHEMA
public static final int INCONSISTENCY_AS_EXCEPTION
public static final int INCONSISTENT_DTS_OPERATION_EXCEPTION
public static final int INVALID_NUMBER_OF_VALUES_FOR_ATTRIBUTE
public static final int INVALID_ATTRIBUTE_VALUE
public static final int INVALID_XPOINTER_FOR_XBRL
public static final int SCHEMA_EXCEPTION
public static final int ENCAPSULATE_XPATH_EXCEPTION
public static final int SUMMATION_ITEM_INVALID_WEIGHT_VALUE
public static final int SUMMATION_ITEM_INVALID_DEBIT_CREDIT_RELATIONSHIP
public static final int ESSENCE_ALIAS_DIFFERENT_ITEM_TYPES
public static final int ESSENCE_ALIAS_DIFFERENT_PERIOD_TYPES
public static final int ESSENCE_ALIAS_DIFFERENT_BALANCE
public static final int XLINK_ERROR_DUPLICATE_ARCS
public static final int FOOTNOTE_MISSING_LANG
public static final int PREFERRED_LABEL_ROLE_TYPE_NOT_DEFINED
public static final int NO_LABEL_FOR_PREFERRED_LABELROLE
public static final int ARC_TARGET_ERROR
public static final int ROLE_TYPE_UNRESOLVABLE
public static final int ARCROLE_TYPE_UNRESOLVABLE
public static final int UNREADABLE_DOCUMENT
public static final int LABEL_MISSING_LANG
public static final int TARGET_IS_NOT_CONCEPT
public static final int XLINK_ERROR_UNRESOLVABLE_URI
public static final int XLINK_ERROR_TARGET_IS_NOT_SCHEMA
public static final int XLINK_ERROR
public static final int SEGMENT_INVALID_CONTENT
public static final int SCENARIO_INVALID_CONTENT
public static final int CONCEPT_NOT_FOUND
public static final int CONCEPT_PERIOD_TYPE_MISTMATCH
public static final int CONCEPT_NUMERIC_MISSING_UNIT
public static final int FACT_NO_DECIMALS_NO_PRECISION
public static final int UNIT_ERROR
public static final int FACT_DECIMALS_AND_PRECISION
public static final int FACT_NILLED_HAS_DECIMALS_OR_PRECISION
public static final int ENCAPSULATE_XBRL_EXCEPTION
public static final int TUPLE_INVALID_ATTRIBUTE
public static final int TUPLE_INVALID_CONTENT
public static final int TARGET_IS_NOT_FACT
public static final int TARGET_IS_NOT_CONTEXT
public static final int TARGET_IS_NOT_UNIT
public static final int INVALID_URI_IN_HREF
public static final int TABLE_PROCESSOR_EXCEPTION
public static final int NUMERIC_VALUE_CANT_GET_TYPE_ERROR
public static final int PERIOD_DATES_INVALID
public static final int CONCEPT_INVALID_TYPE
public static final int CONCEPT_MISSING_PERIODTYPE
public static final int CONCEPT_BALANCE_AMBIGUOUS
public static final int DUPLICATE_USED_ON
public static final int ENCAPSULATE_XML_EXCEPTION
public static final int DUPLICATE_EXCEPTION
public static final int REDEFINE_ERROR
public static final int XDT_EXCEPTION
public static final int FORMULA_PROCESSOR_EXCEPTION
public static final int DUPLICATE_ROLEREF_EXCEPTION
public static final int DUPLICATE_ARCROLEREF_EXCEPTION
public static final int INVALID_LOCATOR_FOUND
public static final int URI_MUST_BE_ABSOLUTE
public static final int TAXONOMY_PACKAGES_EXCEPTION
public static final int XBRL_RS_TOOL_SPECIFIC_ERROR_BASE
public static final int RS_NO_FILES_TO_LOAD
public static final int GENERIC_LINKBASE_EXCEPTION_BASE
public static final int GENERIC_LINKBASE_INVALID_ROLE_URI
public static final int GENERIC_LINKBASE_INVALID_ARCROLE_URI
public static final int GENERIC_LINKBASE_ELEMENT_LABEL_INVALID_TARGET
public static final int GENERIC_LINKBASE_ELEMENT_REFERENCE_INVALID_TARGET
public static final int EXTENSIBLE_ENUMERATIONS_EXCEPTION_BASE
public static final int NUMERIC_FACT_UTR_INVALID
public static final int FRTA_EXCEPTION_BASE
public static final int MAPPER_FACT_ERROR
public static final XBRLValidationException OK
public XBRLValidationException(int code, javax.xml.namespace.QName qError, java.lang.String string, java.lang.Throwable cause)
code
- the codeqError
- QName of the errorstring
- the error descriptionpublic XBRLValidationException(int code, java.lang.String message)
code
- the codemessage
- the messagepublic XBRLValidationException(int code, java.lang.Exception e)
code
- the codee
- the epublic XBRLValidationException(int code, java.lang.String message, java.lang.Throwable cause)
code
- the codemessage
- the messagecause
- the causepublic XBRLValidationException(int code, java.lang.Throwable cause)
code
- the codecause
- the causepublic XBRLValidationException(int code, javax.xml.namespace.QName qError, java.lang.String message)
code
- the codeqError
- QName of the errormessage
- the error descriptionpublic XBRLValidationException(java.lang.String message, XBRLValidationException other)
message
- the messageother
- the otherpublic javax.xml.namespace.QName getQNameError()
public int getCode()
public static java.lang.String cleanErrorClassName(java.lang.Exception e)
e
- as Exceptionpublic static java.lang.String documentException(java.lang.Throwable e)
e
- the epublic static java.lang.String documentException(java.lang.Throwable e, boolean includeExceptionClassName)
e
- the eincludeExceptionClassName
- if true, the exception class name will be included in the error messagepublic static void setMaxMessageLength(int newLength)
newLength
- the new max message lengthpublic void addPrefixMessage(java.lang.String message)
message
- the messagepublic void addSuffixMessage(java.lang.String message)
message
- the messagepublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic int compareTo(XBRLValidationException o)
compareTo
in interface java.lang.Comparable<XBRLValidationException>
o
- the opublic java.util.EnumMap<XBRLValidationErrorReport.ErrorValueKey,java.lang.Object> getValidationReportData()
getValidationReportData
in interface XBRLValidationErrorReport
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa