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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.web.ErrorResponse
org.springframework.web.ErrorResponse.Builder, org.springframework.web.ErrorResponse.Interceptor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.web.ErrorResponseException
getBody, getDetailMessageArguments, getDetailMessageCode, getHeaders, getMessage, getStatusCode, setDetail, setInstance, setTitle, setTypeMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.web.ErrorResponse
getDetailMessageArguments, getTitleMessageCode, getTypeMessageCode, updateAndGetBody
-
Constructor Details
-
PlanNaamInUseException
-