File: GlpkException.java

package info (click to toggle)
glpk-java 1.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,580 kB
  • sloc: sh: 3,609; java: 1,794; xml: 259; makefile: 154; ansic: 35
file content (29 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (4)
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);
    }
}