This project has retired. For details please refer to its Attic page.
CmisNotSupportedException xref

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.chemistry.opencmis.commons.exceptions;
20  
21  import java.math.BigInteger;
22  
23  /**
24   * CMIS NotSupported Exception.
25   */
26  public class CmisNotSupportedException extends CmisBaseException {
27  
28      private static final long serialVersionUID = 1L;
29      public static final String EXCEPTION_NAME = "notSupported";
30  
31      public CmisNotSupportedException() {
32          super();
33      }
34  
35      public CmisNotSupportedException(String message, BigInteger code, Throwable cause) {
36          super(message, code, cause);
37      }
38  
39      public CmisNotSupportedException(String message, String errorContent) {
40          super(message, errorContent);
41      }
42  
43      public CmisNotSupportedException(String message, BigInteger code) {
44          super(message, code);
45      }
46  
47      public CmisNotSupportedException(String message, BigInteger code, String errorContent) {
48          super(message, code, errorContent);
49      }
50      
51      public CmisNotSupportedException(String message, String errorContent, Throwable cause) {
52          super(message, errorContent, cause);
53      }
54  
55      public CmisNotSupportedException(String message, Throwable cause) {
56          super(message, BigInteger.ZERO, cause);
57      }
58  
59      public CmisNotSupportedException(String message) {
60          super(message, BigInteger.ZERO);
61      }
62      
63      @Override
64      public String getExceptionName() {
65          return EXCEPTION_NAME;
66      }
67  }