001/* 002 * The contents of this file are subject to the license and copyright 003 * detailed in the LICENSE and NOTICE files at the root of the source 004 * tree. 005 */ 006package org.fcrepo.persistence.api.exceptions; 007 008import org.fcrepo.kernel.api.exception.RepositoryRuntimeException; 009 010/** 011 * Generic exception for things PersistentStorage related. 012 * 013 * @author whikloj 014 * @since 2019-09-20 015 */ 016public class PersistentStorageException extends RepositoryRuntimeException { 017 018 /** 019 * version UID. 020 */ 021 private static final long serialVersionUID = -1L; 022 023 /** 024 * Constructor. 025 * 026 * @param msg the message 027 */ 028 public PersistentStorageException(final String msg) { 029 super(msg); 030 } 031 032 /** 033 * Constructor 034 * 035 * @param msg message 036 * @param e cause 037 */ 038 public PersistentStorageException(final String msg, final Throwable e) { 039 super(msg, e); 040 } 041 042}