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    * @deprecated since 1.5.0. Use the Atlassian Marshalling API and implementations instead.
10   */
11  @Deprecated
12  @PublicApi
13  public class MarshallerException extends Exception {
14      /**
15       * Creates an instance with the supplied message.
16       *
17       * @param message message for the reason
18       */
19      public MarshallerException(String message) {
20          super(message);
21      }
22  
23      /**
24       * Creates an instance with the supplied message and causing {@link Throwable}.
25       *
26       * @param message message for the reason
27       * @param cause   the causing {@link Throwable}
28       */
29      public MarshallerException(String message, Throwable cause) {
30          super(message, cause);
31      }
32  }