public class WrongArchiveKindException
extends com.lexmark.saperion.exceptions.runtime.IllegalRequestException
Constructor and Description |
---|
WrongArchiveKindException(com.lexmark.saperion.exceptions.ErrorType error,
Throwable cause)
This is the constructor used for serialization.
|
WrongArchiveKindException(String message,
com.lexmark.saperion.archive.ArchiveReferenceType archiveReference,
com.lexmark.saperion.archive.ArchiveContentEnum actualArchiveKind,
com.lexmark.saperion.archive.ArchiveContentEnum expectedArchiveKind)
This constructor creates a new exception for the case that the given archive reference was expected to reference
an archive of the given expected archive type but was instead referencing an archive of the given encountered
archive type.
|
Modifier and Type | Method and Description |
---|---|
WrongArchiveKindDetails |
getErrorDetails() |
createError, getDescriptionParameters, getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrongArchiveKindException(com.lexmark.saperion.exceptions.ErrorType error, Throwable cause)
error
- the error modelcause
- the cause of the exceptionpublic WrongArchiveKindException(String message, com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, com.lexmark.saperion.archive.ArchiveContentEnum actualArchiveKind, com.lexmark.saperion.archive.ArchiveContentEnum expectedArchiveKind)
message
- a message for a little more detailarchiveReference
- a reference to teh archive whose type is not as expectedactualArchiveKind
- the actual archive typeexpectedArchiveKind
- the expected archive typepublic WrongArchiveKindDetails getErrorDetails()
getErrorDetails
in class com.lexmark.saperion.exceptions.EcmRuntimeException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.