LogicException.java

codebase/src/net/sourceforge/pain/logic/fn/LogicException.java · 346 B

From the archive pain_0_44.tgz

Download the archive   « Back to the archive contents

package net.sourceforge.pain.logic.fn;

/**
 * Thrown if some logical errors occurs (moving to illegal location...)
 */
public class LogicException extends RuntimeException {
    public final int errorCode;
    public LogicException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }
}

Site Stats

Snippets: 1791
Codebases: 571