View Javadoc
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 parsing of the output from octave fails. 
20   */
21  public class OctaveParseException extends OctaveRecoverableException {
22  
23      /**
24       * Constructor. 
25       *
26       * @see Throwable
27       */
28      public OctaveParseException() {
29          // Do nothing
30      }
31  
32      /**
33       * Constructor. 
34       *
35       * @param message
36       * @see Throwable
37       */
38      public OctaveParseException(final String message) {
39          super(message);
40      }
41  
42      /**
43       * Constructor. 
44       *
45       * @param cause
46       * @see Throwable
47       */
48      public OctaveParseException(final Throwable cause) {
49          super(cause);
50      }
51  
52      /**
53       * Constructor. 
54       *
55       * @param message
56       * @param cause
57       * @see Throwable
58       */
59      public OctaveParseException(final String message, final Throwable cause) {
60          super(message, cause);
61      }
62  
63  }