net.stickycode.exception.resolver.QuoteFragment 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 class QuoteFragment
extends Fragment {
@Override
public boolean isQuote() {
return true;
}
@Override
public int hashCode() {
return 2;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
return (getClass() == obj.getClass());
}
}