View Javadoc

1   package com.atlassian.johnson.config;
2   
3   import com.atlassian.johnson.JohnsonException;
4   
5   /**
6    * Thrown if errors are encountered while parsing {@link JohnsonConfig}.
7    */
8   public class ConfigurationJohnsonException extends JohnsonException {
9   
10      /**
11       * Constructs a new {@code ConfigurationJohnsonException} with the provided message.
12       *
13       * @param s the exception message
14       */
15      public ConfigurationJohnsonException(String s) {
16          super(s);
17      }
18  
19      /**
20       * Constructs a new {@code ConfigurationJohnsonException} with the provided message and cause.
21       *
22       * @param s         the exception message
23       * @param throwable the cause
24       */
25      public ConfigurationJohnsonException(String s, Throwable throwable) {
26          super(s, throwable);
27      }
28  }