Class InvalidXsdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.appiancorp.suiteapi.common.exceptions.AppianException
com.appiancorp.exceptions.AppianException
com.appiancorp.suiteapi.type.exceptions.ImportException
com.appiancorp.suiteapi.type.config.xsd.exceptions.InvalidXsdException
- All Implemented Interfaces:
Serializable
Thrown when an XML schema file being imported is found to be invalid.
- See Also:
-
Field Summary
Fields inherited from class com.appiancorp.suiteapi.type.exceptions.ImportException
_errorCode, _errorCodeArguments
-
Constructor Summary
ConstructorDescriptionInvalidXsdException
(ImportDiagnostic[] diagnostics_, ErrorCode errorCode_) Creates an instance with the given diagnostics and error code.InvalidXsdException
(ImportDiagnostic[] diagnostics_, ErrorCode errorCode_, String... errorCodeArguments_) Creates an instance with the given diagnostics, error code and error code arguments.InvalidXsdException
(ImportDiagnostic[] diagnostics_, ErrorCode errorCode_, String[] errorCodeArguments_, Throwable cause_) Creates an instance with the given diagnostics, error code, error code arguments and cause -
Method Summary
Methods inherited from class com.appiancorp.suiteapi.type.exceptions.ImportException
getDiagnostics, getErrorCode, getErrorCodeArguments, hasSameErrorCodeAndArguments, setDiagnostics
Methods inherited from class com.appiancorp.suiteapi.common.exceptions.AppianException
getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedTitle, getMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
InvalidXsdException
Creates an instance with the given diagnostics and error code.- Parameters:
diagnostics_
- the import diagnostics generated when attempting to import the XML schema fileerrorCode_
- the error code associated with the exception
-
InvalidXsdException
public InvalidXsdException(ImportDiagnostic[] diagnostics_, ErrorCode errorCode_, String... errorCodeArguments_) Creates an instance with the given diagnostics, error code and error code arguments.- Parameters:
diagnostics_
- the import diagnostics generated when attempting to import the XML schema fileerrorCode_
- the error code associated with the exceptionerrorCodeArguments_
- the arguments that serve as text replacements in the error message
-
InvalidXsdException
public InvalidXsdException(ImportDiagnostic[] diagnostics_, ErrorCode errorCode_, String[] errorCodeArguments_, Throwable cause_) Creates an instance with the given diagnostics, error code, error code arguments and cause- Parameters:
diagnostics_
- the import diagnostics generated when attempting to import the XML schema fileerrorCode_
- the error code associated with the exceptionerrorCodeArguments_
- the arguments that serve as text replacements in the error messagecause_
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.) *
-