@Test(expected = ErrorCodeDataLengthException.class) public void testCreateErrorWithTooBigData() throws Exception { LegacyMessageFactory.createError(ErrorCodeNonExtended.NoError, new byte[11]); }
public static ByteBuf createError(ErrorCodeNonExtended errorCode) throws ErrorCodeDataLengthException { return createError(errorCode, null); }
LegacyMessageFactory extends MessageFactory { public static ByteBuf createError(ErrorCodeNonExtended errorCode) throws ErrorCodeDataLengthException { return createError(errorCode, null); } }
LegacyMessageFactory extends MessageFactory { public static ByteBuf createError(ErrorCodeNonExtended errorCode) throws ErrorCodeDataLengthException { return createError(errorCode, null); }  }
LegacyMessageFactory extends MessageFactory { public static ByteBuf createError(ErrorCodeNonExtended errorCode) throws ErrorCodeDataLengthException { return createError(errorCode, null); }  static ByteBuf createError(ErrorCodeNonExtended errorCode); static ByteBuf createError(ErrorCodeNonExtended errorCode, byte[] data); static ByteBuf createOpen(Version version, ConnectionMode nodeMode); static ByteBuf createOpenResp(Version version, ConnectionMode nodeMode); static ByteBuf createUpdate(List<T> deleteBindings, List<T> addBindings,
            Version version, SxpBindingFilter bindingFilter); static Notification decodeOpen(byte[] payload); static Notification decodeOpenResp(byte[] payload); static Notification decodeUpdate(byte[] payload); }
LegacyMessageFactory extends MessageFactory { public static ByteBuf createError(ErrorCodeNonExtended errorCode) throws ErrorCodeDataLengthException { return createError(errorCode, null); }  static ByteBuf createError(ErrorCodeNonExtended errorCode); static ByteBuf createError(ErrorCodeNonExtended errorCode, byte[] data); static ByteBuf createOpen(Version version, ConnectionMode nodeMode); static ByteBuf createOpenResp(Version version, ConnectionMode nodeMode); static ByteBuf createUpdate(List<T> deleteBindings, List<T> addBindings,
            Version version, SxpBindingFilter bindingFilter); static Notification decodeOpen(byte[] payload); static Notification decodeOpenResp(byte[] payload); static Notification decodeUpdate(byte[] payload);  }