/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This file is part of SableJIT. *
* See the file "LICENSE.JIT" for Copyright information and *
* the terms and conditions for copying, distribution and *
* modification of SableJIT. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
SableJIT General Macros.
Exception Class Macro
$1 package name
$2 imports
$3 Class javadoc
$4 class name
$5 superclass
m4_define([:m4sj_exceptionClass:],
[:
package $1;
$2
$3
public class $4 extends $5 {
/**
* Constructs a new $4
.
*/
public $4() {
super();
}
/**
* Constructs a new $4
with a detailed message.
* @msg The detailed message.
*/
public $4(String msg) {
super(msg);
}
}
:])