org.pure4j.exception.IncorrectPure4JImmutableCallException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pure4j-checker Show documentation
Show all versions of pure4j-checker Show documentation
Parses Byte-code to check the purity semantics defined using pure4j-core annotations
The newest version!
package org.pure4j.exception;
import org.pure4j.processor.PureChecklistHandler.PureMethod;
public class IncorrectPure4JImmutableCallException extends Pure4JException {
public IncorrectPure4JImmutableCallException(PureMethod pureMethod) {
super("Pure interface has call to Pure4J.immutable, but it must be the first call in the method and only passed method parameters\n"+pureMethod);
}
}