Package com.jk.core.exceptions
Class JKInvalidUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jk.core.exceptions.JKException
com.jk.core.exceptions.JKSecurityException
com.jk.core.exceptions.JKInvalidUserException
- All Implemented Interfaces:
 JKNonPrintableException,Serializable
This class represents exception thrown to indicate an invalid user is
 encountered.
 
 This exception is a subclass of JKSecurityException.
 
This class should be used to represent situations where an operation involving an invalid user is attempted.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionThis method constructs a newJKInvalidUserExceptionwithout any specified errors or causes.JKInvalidUserException(String message) This method constructs aJKInvalidUserExceptionwith a specific error message.JKInvalidUserException(String message, Throwable cause) This method constructs aJKInvalidUserExceptionwith a specific error message and a cause.JKInvalidUserException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKInvalidUserExceptionwith a specific error message, cause, suppression behavior, and stack trace writability.JKInvalidUserException(Throwable cause) This method constructs aJKInvalidUserExceptionwith a cause. - 
Method Summary
Methods inherited from class com.jk.core.exceptions.JKException
isLogged, setLoggedMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
JKInvalidUserException
public JKInvalidUserException()This method constructs a newJKInvalidUserExceptionwithout any specified errors or causes.This constructor is typically used when the exception is thrown to represent a specific error condition without additional details.
 - 
JKInvalidUserException
public JKInvalidUserException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKInvalidUserExceptionwith a specific error message, cause, suppression behavior, and stack trace writability.- Parameters:
 message- Specifies the error message explaining the invalid user situation.cause- Specifies the cause of this exception.enableSuppression- Specifies whether suppression is enabled or disabled.writableStackTrace- Specifies whether the stack trace should be writable.
 - 
JKInvalidUserException
This method constructs aJKInvalidUserExceptionwith a specific error message and a cause.- Parameters:
 message- Specifies the error message explaining the invalid user situation.cause- Specifies the cause of this exception.
 - 
JKInvalidUserException
This method constructs aJKInvalidUserExceptionwith a specific error message.- Parameters:
 message- Specifies the error message explaining the invalid user situation.
 - 
JKInvalidUserException
This method constructs aJKInvalidUserExceptionwith a cause.- Parameters:
 cause- Specifies the cause of this exception.
 
 - 
 - 
Method Details
- 
getMessage
- Overrides:
 getMessagein classThrowable- Returns:
 - the detail message string of this 
Throwableinstance(which may benull) 
 
 -