/* * Copyright (c) 2008-2012 EMC Corporation * All Rights Reserved */ package com.emc.storageos.volumecontroller; import com.emc.storageos.exceptions.DeviceControllerException; import com.emc.storageos.svcs.errorhandling.resources.ServiceCode; /** * Exception thrown from {@link StorageMonitor storage monitors} when an error * occurs starting/stopping event monitoring for a storage device. */ public class StorageMonitorException extends DeviceControllerException { // Default serial version id. private static final long serialVersionUID = 1L; protected StorageMonitorException(final ServiceCode code, final Throwable cause, final String detailBase, final String detailKey, final Object[] detailParams) { super(code, cause, detailBase, detailKey, detailParams); } /** * Constructor. * * @param msg The exception message. */ @Deprecated public StorageMonitorException(String msg) { super(ServiceCode.MONITORING_STORAGE_ERROR, null, msg, null); } /** * Constructor. * * @param cause The cause of the exception. */ @Deprecated public StorageMonitorException(Throwable cause) { super(ServiceCode.MONITORING_STORAGE_ERROR, cause, null, null, null); } /** * Constructor. * * @param msg The exception message. * @param cause The cause of the exception. */ @Deprecated public StorageMonitorException(String msg, Throwable cause) { super(ServiceCode.MONITORING_STORAGE_ERROR, cause, null, msg, null); } }