From 641253b359b92bd63987bf1014ad10016f5c5834 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 18 Aug 2004 16:05:31 +0000 Subject: [PATCH] better permission denied message --- bindings/java/src/net/hyperic/sigar/cmd/ProcFileInfo.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/ProcFileInfo.java b/bindings/java/src/net/hyperic/sigar/cmd/ProcFileInfo.java index f51028d7..a06a9a47 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/ProcFileInfo.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/ProcFileInfo.java @@ -2,6 +2,7 @@ package net.hyperic.sigar.cmd; import net.hyperic.sigar.Sigar; import net.hyperic.sigar.SigarException; +import net.hyperic.sigar.SigarPermissionDeniedException; import net.hyperic.sigar.ProcFd; import net.hyperic.sigar.ProcExe; @@ -36,6 +37,8 @@ public class ProcFileInfo extends SigarCommandBase { for (int i=0; i