View Javadoc
1   /*
2    * Copyright 2008 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 break the octave process, 
20   * any action on the Octave object now will cause a
21   * new OctaveNonrecoverableException.
22   */
23  public abstract class OctaveNonrecoverableException extends OctaveException {
24  
25      /**
26       * Constructor. 
27       *
28       * @see Throwable
29       */
30      public OctaveNonrecoverableException() {
31          // Do nothing
32      }
33  
34      /**
35       * Constructor. 
36       *
37       * @param message
38       * @see Throwable
39       */
40      public OctaveNonrecoverableException(final String message) {
41          super(message);
42      }
43  
44      /**
45       * Constructor. 
46       *
47       * @param cause
48       * @see Throwable
49       */
50      public OctaveNonrecoverableException(final Throwable cause) {
51          super(cause);
52      }
53  
54      /**
55       * Constructor. 
56       *
57       * @param message
58       * @param cause
59       * @see Throwable
60       */
61      public OctaveNonrecoverableException(final String message, 
62  					 final Throwable cause) {
63          super(message, cause);
64      }
65  
66  }