public InvalidMacException(final byte[] expected,final byte[] actual){
  super("MAC validation failed");
  this.expected=Arrays.copyOf(expected,expected.length);
  this.actual=Arrays.copyOf(actual,actual.length);
}

public InvalidMacException ( final byte [ ] expected , final byte [ ] actual ) { super ( "MAC validation failed" ) ; this . expected = Arrays . copyOf ( expected , expected . length ) ; this . actual = Arrays . copyOf ( actual , actual . length ) ; }
sets the expected and actual mac values .
