org.eclipse.lyo.trs.client.exceptions.RepresentationRetrievalException Maven / Gradle / Ivy
/*
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License 1.0
* which is available at http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
package org.eclipse.lyo.trs.client.exceptions;
/**
* Thrown when the required representation can not be retrieved from the server. Normally thrown by
* a Base member handler or a change event handler
*
* @since 2.3.0
*/
public class RepresentationRetrievalException extends RuntimeException {
private static final long serialVersionUID = -5190311252768510792L;
private static String defaultMessage = "The representation of one of the resources could not be " +
"retrieved while processing the tracked resource set !";
public RepresentationRetrievalException() {
super(defaultMessage);
}
public RepresentationRetrievalException(String message) {
super(message);
}
public RepresentationRetrievalException(final String message, final Throwable cause) {
super(message, cause);
}
public RepresentationRetrievalException(final Throwable cause) {
super(cause);
}
public RepresentationRetrievalException(final String message, final Throwable cause, final boolean enableSuppression,
final boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}