Class CustomParameterizedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.zalando.problem.ThrowableProblem
org.zalando.problem.AbstractThrowableProblem
org.powertac.visualizer.web.rest.errors.CustomParameterizedException
All Implemented Interfaces:
Serializable, org.zalando.problem.Exceptional, org.zalando.problem.Problem

public class CustomParameterizedException
extends org.zalando.problem.AbstractThrowableProblem
Custom, parameterized exception, which can be translated on the client side. For example:
 throw new CustomParameterizedException("myCustomError", "hello", "world");
 
Can be translated with:
 "error.myCustomError" :  "The server says {{param0}} to {{param1}}"
 
See Also:
Serialized Form