Package com.lpvs.exception
Class WrongAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.lpvs.exception.WrongAccessException
- All Implemented Interfaces:
Serializable
Exception thrown to indicate an attempt to access a resource without proper authorization.
This exception is typically used when a user tries to access a resource for which they do not have the necessary permissions or authentication.
Inherits from RuntimeException
for unchecked exception handling.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWrongAccessException
(String message) Constructs a new WrongAccessException with the specified error message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrongAccessException
Constructs a new WrongAccessException with the specified error message.- Parameters:
message
- The detail message indicating the reason for the unauthorized access attempt.
-