Package usecase.auth
Class BannedUserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- usecase.auth.BannedUserException
-
- All Implemented Interfaces:
Serializable
public class BannedUserException extends RuntimeException
Eccezione relativa al ban.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BannedUserException()
BannedUserException(Instant duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getDuration()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BannedUserException
public BannedUserException()
-
BannedUserException
public BannedUserException(Instant duration)
-
-
Method Detail
-
getDuration
public Instant getDuration()
-
-