Class SlugOperationException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class SlugOperationException extends RuntimeException
Exception thrown when an error occurs during slug generation or slug-related operations.
This exception is typically thrown when a slug operation fails, such as when a duplicate slug is found, when the slug cannot be generated, or any other slug-related error occurs during the process.
-
-
Constructor Summary
Constructors Constructor Description SlugOperationException()Default constructor that initializes the exception with a default error message. SlugOperationException(String message)Constructor that initializes the exception with a specific error message. SlugOperationException(String message, Throwable cause)Constructor that initializes the exception with a specific error message and a cause.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SlugOperationException
SlugOperationException()
Default constructor that initializes the exception with a default error message.
-
SlugOperationException
SlugOperationException(String message)
Constructor that initializes the exception with a specific error message.- Parameters:
message- the detail message explaining the cause of the exception
-
SlugOperationException
SlugOperationException(String message, Throwable cause)
Constructor that initializes the exception with a specific error message and a cause.- Parameters:
message- the detail message explaining the cause of the exceptioncause- the cause of the exception (usually another exception that triggered this one)
-
-
-
-