add INSTANCE for reuse
This commit is contained in:
parent
c4153d2485
commit
61771a1596
|
@ -6,8 +6,11 @@ package net.hyperic.sigar;
|
||||||
*/
|
*/
|
||||||
public class SigarNotImplementedException extends SigarException {
|
public class SigarNotImplementedException extends SigarException {
|
||||||
|
|
||||||
|
private static final String msg =
|
||||||
|
"This method has not been implemented on this platform";
|
||||||
|
|
||||||
public static final SigarNotImplementedException INSTANCE =
|
public static final SigarNotImplementedException INSTANCE =
|
||||||
new SigarNotImplementedException();
|
new SigarNotImplementedException(msg);
|
||||||
|
|
||||||
public SigarNotImplementedException () { super(); }
|
public SigarNotImplementedException () { super(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue