Class SasException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
io.github.fherbreteau.vodozemac.exception.SasException
- All Implemented Interfaces:
Serializable
Thrown when SAS (Short Authentication String) verification fails.
This includes failures due to:
- MAC validation mismatch during
EstablishedSas.verifyMac(String, String, String) - An invalid byte count requested during
EstablishedSas.bytesRaw(String, int)
- Author:
- François HERBRETEAU
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSasException(String message) Constructs a newSasExceptionwith the specified detail message.SasException(String message, Throwable cause) Constructs a newSasExceptionwith the specified detail message and a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SasException
Constructs a newSasExceptionwith the specified detail message.- Parameters:
message- the detail message
-
SasException
-