##### Coverage Report - org.apache.commons.scxml.model.ModelException

Classes in this File | Line Coverage | Branch Coverage | Complexity
ModelException |
25% |
N/A |
| 1.0;1

1 |  |
     /*
2 |  |
      * Licensed to the Apache Software Foundation (ASF) under one or more
3 |  |
      * contributor license agreements.  See the NOTICE file distributed with
4 |  |
      * this work for additional information regarding copyright ownership.
5 |  |
      * The ASF licenses this file to You under the Apache License, Version 2.0
6 |  |
      * (the "License"); you may not use this file except in compliance with
7 |  |
      * the License.  You may obtain a copy of the License at
8 |  |
      *
9 |  |
      *     http://www.apache.org/licenses/LICENSE-2.0
10 |  |
      *
11 |  |
      * Unless required by applicable law or agreed to in writing, software
12 |  |
      * distributed under the License is distributed on an "AS IS" BASIS,
13 |  |
      * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |  |
      * See the License for the specific language governing permissions and
15 |  |
      * limitations under the License.
16 |  |
      */
17 |  |
     package org.apache.commons.scxml.model;
18 |  |
19 |  |
     /**
20 |  |
      * Exception that is thrown when the SCXML model supplied to the
21 |  |
      * executor has a fatal flaw that prevents the executor from
22 |  |
      * further interpreting the the model.
23 |  |
      *
24 |  |
      */
25 |  |
     public class ModelException extends Exception {
26 |  |
27 |  |
         /**
28 |  |
          * Serial version UID.
29 |  |
          */
30 |  |
         private static final long serialVersionUID = 1L;
31 |  |
32 |  |
         /**
33 |  |
          * @see java.lang.Exception#Exception()
34 |  |
          */
35 |  |
         public ModelException() {
36 | 0 |
             super();
37 | 0 |
         }
38 |  |
39 |  |
         /**
40 |  |
          * @see java.lang.Exception#Exception(java.lang.String)
41 |  |
          * @param message
42 |  |
          */
43 |  |
         public ModelException(final String message) {
44 | 1 |
             super(message);
45 | 1 |
         }
46 |  |
47 |  |
         /**
48 |  |
          * @see java.lang.Exception#Exception(java.lang.Throwable)
49 |  |
          * @param cause
50 |  |
          */
51 |  |
         public ModelException(final Throwable cause) {
52 | 0 |
             super(cause);
53 | 0 |
         }
54 |  |
55 |  |
         /**
56 |  |
          * @see java.lang.Exception#Exception(String, java.lang.Throwable)
57 |  |
          * @param message
58 |  |
          * @param cause
59 |  |
          */
60 |  |
         public ModelException(final String message, final Throwable cause) {
61 | 0 |
             super(message, cause);
62 | 0 |
         }
63 |  |
64 |  |
     }
65 |  |