Class NotRemovableException

  • All Implemented Interfaces:
    Serializable

    public class NotRemovableException
    extends ConstraintViolationException
    PUBLIC: Thrown when an object is attempted removed, but cannot.

    Extends ConstraintViolationException but does not provide additional methods; this is because the purpose is just to provide a different exception, to allow API users to handle them differently.

    See Also:
    Serialized Form
    • Constructor Detail

      • NotRemovableException

        public NotRemovableException​(Throwable e)
      • NotRemovableException

        public NotRemovableException​(String message)
      • NotRemovableException

        public NotRemovableException​(String message,
                                     Throwable cause)