package at.gv.egiz.eaaf.modules.auth.sl20.exceptions; import javax.annotation.Nullable; public class SL20VdaResponseException extends SL20Exception { private static final long serialVersionUID = 6834803380740916320L; private String vdaSessionId = null; public SL20VdaResponseException(String messageId, Object[] parameters) { super(messageId, parameters); } public SL20VdaResponseException(String messageId, Object[] parameters, Throwable wrapped) { super(messageId, parameters, wrapped); } /** * Get a SessionId that was provided by VDA in SL2.0 error-response. * * @return SessionId for an additional VDA request, or null * if no SessionId was provided. */ @Nullable public String getVdaSessionId() { return vdaSessionId; } /** * Set SessionId from VDA that can be used for an further request to VDA for the same user. * * @param vdaSessionId SessionId provided by VDA */ public void setVdaSessionId(@Nullable String vdaSessionId) { this.vdaSessionId = vdaSessionId; } }