net.stickycode.exception.resolver.Fragment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sticky-exception Show documentation
Show all versions of sticky-exception Show documentation
A clean exception base class(s) with a signature closer to slf4j, so that messages can be as nicely descriptive
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;
}
}