All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.reflect.IProvidesCustomErrorInfo Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect;

import java.util.List;

public interface IProvidesCustomErrorInfo {

  public enum ErrorLevel {
    INFO,
    WARNING,
    ERROR
  }

  public class CustomErrorInfo {
    ErrorLevel _level;
    String _msg;
    int _start;
    int _end;

    public CustomErrorInfo(ErrorLevel level, String msg, int start, int end) {
      _level = level;
      _msg = msg;
      _start = start;
      _end = end;
    }

    public ErrorLevel getLevel() {
      return _level;
    }

    public String getMessage() {
      return _msg;
    }

    public int getStart() {
      return _start;
    }

    public int getEnd() {
      return _end;
    }
  }

  public List getCustomErrors();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy