Enum FailureReason

java.lang.Object
java.lang.Enum<FailureReason>
ch.swisscom.mid.client.model.FailureReason
All Implemented Interfaces:
DocumentedEnum, Serializable, Comparable<FailureReason>, Constable

public enum FailureReason
extends Enum<FailureReason>
implements DocumentedEnum
Enum with all the main reasons for which a communication between the MID Client and a configured Mobile ID service can fail. A reason from this list is wrapped in a Fault and then wrapped again in a thrown exception of type MIDFlowException. Callers can inspect the Fault and one of these reasons and understand what failed. Some of these reasons will also put some extra info the Fault's fields.