Class 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