1 /* 2 * Copyright 2009 Ange Optimization ApS 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package eu.simuline.octave.exception; 17 18 /** 19 * An exception in the Octave engine that did not break the octave process. 20 */ 21 public abstract class OctaveRecoverableException extends OctaveException { 22 23 /** 24 * Constructor. 25 * 26 * @see Throwable 27 */ 28 public OctaveRecoverableException() { 29 // Do nothing 30 } 31 32 /** 33 * Constructor. 34 * 35 * @param message 36 * @see Throwable 37 */ 38 public OctaveRecoverableException(final String message) { 39 super(message); 40 } 41 42 /** 43 * Constructor. 44 * 45 * @param cause 46 * @see Throwable 47 */ 48 public OctaveRecoverableException(final Throwable cause) { 49 super(cause); 50 } 51 52 /** 53 * Constructor. 54 * 55 * @param message 56 * @param cause 57 * @see Throwable 58 */ 59 public OctaveRecoverableException(final String message, 60 final Throwable cause) { 61 super(message, cause); 62 } 63 64 }