Class ModelValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.jersey.server.model.ModelValidationException
All Implemented Interfaces:
Serializable

public class ModelValidationException extends RuntimeException
Resource model validation exception. Indicates the issues with the model.
Author:
Jakub Podlesak, Marek Potociar
See Also:
  • Constructor Details

    • ModelValidationException

      public ModelValidationException(String message, List<ResourceModelIssue> issues)
      Creates new resource model validation exception with the list of validation issues and the message.
      Parameters:
      message - message for the exception. The final message returned by getMessage() will contains the message and other information about exception.
      issues - validation issues.
  • Method Details