Class ModificationException

All Implemented Interfaces:
Serializable

public class ModificationException extends RuntimeException
Thrown when a method is called on an object which will modify it,
but the object is not modifiable at the moment or at all.
See Also:
  • Constructor Details

    • ModificationException

      public ModificationException()
      Constructs a new modification exception with no details.
    • ModificationException

      public ModificationException(@Nullable @Nullable String message)
      Constructs a new modification exception with the specified message.
      Parameters:
      message - The message of the exception
    • ModificationException

      public ModificationException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause)
      Constructs a new modification exception with the specified message and cause.
      Parameters:
      message - The message of the exception
      cause - The cause of the exception
    • ModificationException

      public ModificationException(@Nullable @Nullable Throwable cause)
      Constructs a new modification exception with the specified cause.
      Parameters:
      cause - The cause of the exception