Revert "BUG-47 : unfinished PCEP migration to generated DTOs."
[bgpcep.git] / pcep / impl / src / main / java / org / opendaylight / protocol / pcep / impl / object / UnknownObject.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. 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.protocol.pcep.impl.object;
9
10 import org.opendaylight.protocol.pcep.PCEPErrors;
11 import org.opendaylight.protocol.pcep.PCEPObject;
12
13 public class UnknownObject extends PCEPObject {
14
15         private final PCEPErrors error;
16
17         public UnknownObject(boolean processed, boolean ignored, PCEPErrors error) {
18                 super(processed, ignored);
19
20                 this.error = error;
21         }
22
23         public PCEPErrors getError() {
24                 return this.error;
25         }
26
27 }