Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.fge.jsonschema.processors;
 
 
 public enum ValidationDomain
    SYNTAX
    {
        @Override
        public ExceptionProvider exceptionProvider()
        {
            return new ExceptionProvider()
            {
                @Override
                public ProcessingException doException(
                    final ProcessingMessage message)
                {
                    return new InvalidSchemaException(message);
                }
            };
        }
    },
    INSTANCE
    {
        @Override
        public ExceptionProvider exceptionProvider()
        {
            return new ExceptionProvider()
            {
                @Override
                public ProcessingException doException(
                    final ProcessingMessage message)
                {
                    return new InvalidInstanceException(message);
                }
            };
        }
    },
    ;
    public abstract ExceptionProvider exceptionProvider();
New to GrepCode? Check out our FAQ X