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

net.stickycode.exception.resolver.Fragment Maven / Gradle / Ivy

Go to download

A clean exception base class(s) with a signature closer to slf4j, so that messages can be as nicely descriptive

There is a newer version: 3.2
Show newest version
package net.stickycode.exception.resolver;

public abstract class Fragment {

  public boolean isParameter() {
    return false;
  }

  public boolean isQuote() {
    return false;
  }

  public String getValue() {
    throw new UnsupportedOperationException();
  }
  
  @Override
  public String toString() {
    return getClass().getSimpleName();
  }

  public boolean isText() {
    return false;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy