CommandExecutorException.java revision 2224:2a8815d86b93
1204076Spjd/* 2204076Spjd * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 3204076Spjd * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4204076Spjd * 5204076Spjd * This code is free software; you can redistribute it and/or modify it 6204076Spjd * under the terms of the GNU General Public License version 2 only, as 7204076Spjd * published by the Free Software Foundation. 8204076Spjd * 9204076Spjd * This code is distributed in the hope that it will be useful, but WITHOUT 10204076Spjd * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11204076Spjd * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12204076Spjd * version 2 for more details (a copy is included in the LICENSE file that 13204076Spjd * accompanied this code). 14204076Spjd * 15204076Spjd * You should have received a copy of the GNU General Public License version 16204076Spjd * 2 along with this work; if not, write to the Free Software Foundation, 17204076Spjd * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18204076Spjd * 19204076Spjd * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20204076Spjd * or visit www.oracle.com if you need additional information or have any 21204076Spjd * questions. 22204076Spjd */ 23204076Spjd 24204076Spjdpackage jdk.test.lib.dcmd; 25204076Spjd 26204076Spjd/** 27204076Spjd * CommandExecutorException encapsulates exceptions thrown (on the "calling side") from the execution of Diagnostic 28204076Spjd * Commands 29204076Spjd */ 30204076Spjdpublic class CommandExecutorException extends RuntimeException { 31204076Spjd private static final long serialVersionUID = -7039597746579144280L; 32204076Spjd 33204076Spjd public CommandExecutorException(String message, Throwable e) { 34204076Spjd super(message, e); 35204076Spjd } 36204076Spjd} 37204076Spjd