BUG-8422: separate retry and request timeouts
[controller.git] / opendaylight / md-sal / cds-access-client / src / main / java / org / opendaylight / controller / cluster / access / client / RequestTimeoutException.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.access.client;
9
10 import org.opendaylight.controller.cluster.access.concepts.RequestException;
11
12 public final class RequestTimeoutException extends RequestException {
13     private static final long serialVersionUID = 1L;
14
15     public RequestTimeoutException(final String message) {
16         super(message);
17     }
18
19     @Override
20     public boolean isRetriable() {
21         return false;
22     }
23 }