add INSTANCE for reuse

This commit is contained in:
Doug MacEachern 2004-08-14 04:44:36 +00:00
parent c4153d2485
commit 61771a1596
1 changed files with 4 additions and 1 deletions

View File

@ -6,8 +6,11 @@ package net.hyperic.sigar;
*/
public class SigarNotImplementedException extends SigarException {
private static final String msg =
"This method has not been implemented on this platform";
public static final SigarNotImplementedException INSTANCE =
new SigarNotImplementedException();
new SigarNotImplementedException(msg);
public SigarNotImplementedException () { super(); }