Package at.favre.lib.idmask
Class IdMaskSecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.SecurityException
-
- at.favre.lib.idmask.IdMaskSecurityException
-
- All Implemented Interfaces:
Serializable
public class IdMaskSecurityException extends SecurityException
Used as exception for probable security relevant issues with given id.DO NOT pass details of this exception to the client as it may reveal security relevant information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdMaskSecurityException.Reason
Technical reason of the exception
-
Constructor Summary
Constructors Constructor Description IdMaskSecurityException(String s, IdMaskSecurityException.Reason reason)
IdMaskSecurityException(String message, IdMaskSecurityException.Reason reason, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
IdMaskSecurityException.Reason
getReason()
Reason type of why the exception was thrown-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IdMaskSecurityException
public IdMaskSecurityException(String s, IdMaskSecurityException.Reason reason)
-
IdMaskSecurityException
public IdMaskSecurityException(String message, IdMaskSecurityException.Reason reason, Throwable cause)
-
-
Method Detail
-
getReason
public IdMaskSecurityException.Reason getReason()
Reason type of why the exception was thrown- Returns:
- reason
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-