The Failure object is not marked as serializable. Suppress the
spotbugs warning and mark a fixme to clean up serialization.
Change-Id: I56c84a06060183e9e5851e3a21d85529f5b9551b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
*/
package org.opendaylight.bgpcep.programming.spi;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.submit.instruction.output.result.failure._case.Failure;
public class SchedulerException extends Exception {
private static final long serialVersionUID = 1L;
+ @SuppressFBWarnings("SE_BAD_FIELD")
+ // FIXME: use explicit serialization here
private final Failure failure;
public SchedulerException(final String message, final Failure failure) {