1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
package org.gnu.glpk;
/**
* Exception thrown, when the GLPK native library call fails.
* <p>If an error occurs GLPK will release all internal memory. Hence all
* object references to the library will be invalid.
* <p>To reenable listening to terminal output call
* <pre>
* GLPK.glp_term_hook(null, null);
* </pre>
*/
public class GlpkException extends RuntimeException {
/**
* Constructs a new GLPK exception.
*/
public GlpkException() {
super();
}
/**
* Constructs a new GLPK exception.
* @param message detail message
*/
public GlpkException(final String message) {
super(message);
}
}
|