/** * Copyright 2013-2015 Seagate Technology LLC. * * This Source Code Form is subject to the terms of the Mozilla * Public License, v. 2.0. If a copy of the MPL was not * distributed with this file, You can obtain one at * https://mozilla.org/MP:/2.0/. * * This program is distributed in the hope that it will be useful, * but is provided AS-IS, WITHOUT ANY WARRANTY; including without * the implied warranty of MERCHANTABILITY, NON-INFRINGEMENT or * FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public * License for more details. * * See www.openkinetic.org for more project information */ package com.seagate.kinetic.simulator.internal; public class InvalidBatchException extends Exception { private static final long serialVersionUID = 1559241680833563288L; private RequestContext failedRequestContext = null; public InvalidBatchException() { // TODO Auto-generated constructor stub } public InvalidBatchException(String message) { super(message); // TODO Auto-generated constructor stub } public InvalidBatchException(Throwable cause) { super(cause); // TODO Auto-generated constructor stub } public InvalidBatchException(String message, Throwable cause) { super(message, cause); // TODO Auto-generated constructor stub } public InvalidBatchException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(message, cause, enableSuppression, writableStackTrace); // TODO Auto-generated constructor stub } public void setFailedRequestContext(RequestContext rc) { this.failedRequestContext = rc; } public RequestContext getFailedRequestContext() { return this.failedRequestContext; } }