Class PlanNaamInUseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.ErrorResponseException
nl.b3p.planmonitorwonen.api.validation.PlanNaamInUseException
All Implemented Interfaces:
Serializable, org.springframework.web.ErrorResponse

public class PlanNaamInUseException extends org.springframework.web.ErrorResponseException
Results in a 409 response when another planregistratie already has the same plan name. Plan names are unique for all gemeentes. The errors property has the same format as for PlanregistratieValidationException.
See Also:
  • Constructor Details

    • PlanNaamInUseException

      public PlanNaamInUseException(String planNaam)