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

com.helger.commons.error.IResourceLocation Maven / Gradle / Ivy

There is a newer version: 9.5.5
Show newest version
package com.helger.commons.error;

import javax.annotation.Nullable;

import com.helger.commons.error.location.IErrorLocation;
import com.helger.commons.string.StringHelper;

/**
 * @deprecated Use {@link IErrorLocation} instead.
 * @author Philip Helger
 */
@Deprecated
public interface IResourceLocation extends IErrorLocation
{

  /**
   * @return The field where the error occurred. Sometimes this field is
   *         available instead of the line- and column numbers. May be
   *         null.
   */
  @Nullable
  String getField ();

  default boolean hasField ()
  {
    return StringHelper.hasText (getField ());
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy