1 /* 2 * Copyright 2008, 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 * Exception thrown when IO errors happen, 20 * this will most likely be cause by the octave process dying. 21 */ 22 public class OctaveIOException extends OctaveNonrecoverableException { 23 24 /** 25 * Constructor. 26 * 27 * @see Throwable 28 */ 29 public OctaveIOException() { 30 // Do nothing 31 } 32 33 /** 34 * Constructor. 35 * 36 * @param message 37 * @see Throwable 38 */ 39 public OctaveIOException(final String message) { 40 super(message); 41 } 42 43 /** 44 * Constructor. 45 * 46 * @param cause 47 * @see Throwable 48 */ 49 public OctaveIOException(final Throwable cause) { 50 super(cause); 51 } 52 53 /** 54 * Constructor. 55 * 56 * @param message 57 * @param cause 58 * @see Throwable 59 */ 60 public OctaveIOException(final String message, final Throwable cause) { 61 super(message, cause); 62 } 63 64 }