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      {
17          super(s);
18      }
19  
20      /**
21       * Constructs a new {@code ConfigurationJohnsonException} with the provided message and cause.
22       *
23       * @param s         the exception message
24       * @param throwable the cause
25       */
26      public ConfigurationJohnsonException(String s, Throwable throwable)
27      {
28          super(s, throwable);
29      }
30  }