Package com.jk.core.exceptions
Class JKNotAllowedOperationException
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.JKNotAllowedOperationException
- All Implemented Interfaces:
 JKNonPrintableException,Serializable
This class represents exception thrown to indicate that a specific operation
 is not allowed or permitted in the current context.
 
 This exception is a subclass of JKSecurityException.
 
This class should be used to represent situations where data access attempting a certain operation is not allowed due to the state or conditions of the program.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionThis method constructs a newJKNotAllowedOperationExceptionwithout any specified errors or causes.JKNotAllowedOperationException(String message) This method constructs aJKNotAllowedOperationExceptionwith a specific error message.JKNotAllowedOperationException(String message, Throwable cause) This method constructs aJKNotAllowedOperationExceptionwith a specific error message and a cause.JKNotAllowedOperationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKNotAllowedOperationExceptionwith a specific error message, cause, suppression behavior, and stack trace writability.This method constructs aJKNotAllowedOperationExceptionwith 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, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
JKNotAllowedOperationException
public JKNotAllowedOperationException()This method constructs a newJKNotAllowedOperationExceptionwithout any specified errors or causes.This constructor is typically used when the exception is thrown to represent a specific error condition without additional details.
 - 
JKNotAllowedOperationException
public JKNotAllowedOperationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKNotAllowedOperationExceptionwith a specific error message, cause, suppression behavior, and stack trace writability.- Parameters:
 message- Specifies the error message explaining the not allowed operation situationcause- Specifies the cause of this exception.enableSuppression- Specifies whether suppression is enabled or disabled.writableStackTrace- Specifies whether the stack trace should be writable.
 - 
JKNotAllowedOperationException
This method constructs aJKNotAllowedOperationExceptionwith a specific error message and a cause.- Parameters:
 message- Specifies the error message explaining the not allowed operation situationcause- Specifies the cause of this exception.
 - 
JKNotAllowedOperationException
This method constructs aJKNotAllowedOperationExceptionwith a specific error message.- Parameters:
 message- Specifies the error message explaining the not allowed operation situation
 - 
JKNotAllowedOperationException
This method constructs aJKNotAllowedOperationExceptionwith a cause.- Parameters:
 cause- Specifies the cause of this exception.
 
 -