/* * Copyright (c) 2016 EMC Corporation * All Rights Reserved */ package com.emc.storageos.ceph; import com.emc.storageos.svcs.errorhandling.annotations.DeclareServiceCode; import com.emc.storageos.svcs.errorhandling.annotations.MessageBundle; import com.emc.storageos.svcs.errorhandling.resources.ServiceCode; @MessageBundle public interface CephExceptions { @DeclareServiceCode(ServiceCode.CEPH_CONNECTION_ERROR) public CephException connectionError(Throwable t); @DeclareServiceCode(ServiceCode.CEPH_INVALID_CREDENTIALS_ERROR) public CephException invalidCredentialsError(Throwable t); @DeclareServiceCode(ServiceCode.CEPH_OPERATION_EXCEPTION) public CephException operationException(Throwable t); @DeclareServiceCode(ServiceCode.CEPH_OPERATION_EXCEPTION) public CephException operationException(String msg); }