From 61771a15969f6cfe9c8b0f8054a00eb2e296275e Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 14 Aug 2004 04:44:36 +0000 Subject: [PATCH] add INSTANCE for reuse --- .../src/net/hyperic/sigar/SigarNotImplementedException.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/SigarNotImplementedException.java b/bindings/java/src/net/hyperic/sigar/SigarNotImplementedException.java index 4d965caf..90d4fb52 100644 --- a/bindings/java/src/net/hyperic/sigar/SigarNotImplementedException.java +++ b/bindings/java/src/net/hyperic/sigar/SigarNotImplementedException.java @@ -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(); }