src.org.python.expose.generate.InvalidExposingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython Show documentation
Show all versions of jython Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
package org.python.expose.generate;
/**
* Indicates that something is invalid in an exposed type be it a conflict of names, a missing
* annotation or some other such problem. The message on this exception should be sufficient for an
* end user to track down where the problem is occuring and fix it.
*/
public class InvalidExposingException extends RuntimeException {
public InvalidExposingException(String msg) {
super(msg);
}
public InvalidExposingException(String message, String method) {
this(message + "[method=" + method + "]");
}
}