package com.limegroup.gnutella.malware; import org.limewire.core.api.malware.VirusEngine; public class VirusScanException extends Exception { private final VirusEngine.HintReason detail; VirusScanException(Throwable t) { this(t, VirusEngine.HintReason.NO_HINT); } VirusScanException(String message, Throwable t) { this(message, t, VirusEngine.HintReason.NO_HINT); } VirusScanException(String message, Throwable t, VirusEngine.HintReason detail) { super(message, t); this.detail = detail; } VirusScanException(Throwable t, VirusEngine.HintReason detail) { super(t); this.detail = detail; } VirusScanException(String message) { this(message, VirusEngine.HintReason.NO_HINT); } VirusScanException(String message, VirusEngine.HintReason detail) { super(message); this.detail = detail; } public VirusEngine.HintReason getDetail() { return detail; } }