View Javadoc

1   package com.atlassian.vcache;
2   
3   import com.atlassian.annotations.PublicApi;
4   
5   /**
6    * Represents a failure occurred when marshalling data.
7    *
8    * @since 1.0
9    */
10  @PublicApi
11  public class MarshallerException extends Exception
12  {
13      /**
14       * Creates an instance with the supplied message.
15       * @param message message for the reason
16       */
17      public MarshallerException(String message)
18      {
19          super(message);
20      }
21  
22      /**
23       * Creates an instance with the supplied message and causing {@link Throwable}.
24       *
25       * @param message message for the reason
26       * @param cause the causing {@link Throwable}
27       */
28      public MarshallerException(String message, Throwable cause)
29      {
30          super(message, cause);
31      }
32  }