X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=packetcable-driver%2Fsrc%2Fmain%2Fjava%2Forg%2Fpcmm%2Futils%2FPCMMException.java;h=3737e1b03b31383ddc8a82a40ffdf28fb6b36da7;hb=3e6a8ae8c2dcfa808502f9acf94cad3ba2e28716;hp=01e23e49e1db022cb48ceac1b9f517c8f141f609;hpb=a06a930e945e767e04f20486711a666d86d85e4c;p=packetcable.git diff --git a/packetcable-driver/src/main/java/org/pcmm/utils/PCMMException.java b/packetcable-driver/src/main/java/org/pcmm/utils/PCMMException.java index 01e23e4..3737e1b 100644 --- a/packetcable-driver/src/main/java/org/pcmm/utils/PCMMException.java +++ b/packetcable-driver/src/main/java/org/pcmm/utils/PCMMException.java @@ -1,5 +1,5 @@ -/** - @header@ +/* + * (c) 2015 Cable Television Laboratories, Inc. All rights reserved. */ package org.pcmm.utils; @@ -13,7 +13,7 @@ import org.pcmm.gates.IPCMMError; public class PCMMException extends Exception { public PCMMException(IPCMMError error) { - this(error.getDescription(), error.getErrorCode()); + this(error.getDescription(), error.getErrorCode().getCode()); } public PCMMException(String message, int code) {