Refactor PCMM aspects of COPS message data objects.
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / utils / PCMMException.java
index 01e23e49e1db022cb48ceac1b9f517c8f141f609..3737e1b03b31383ddc8a82a40ffdf28fb6b36da7 100644 (file)
@@ -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) {