aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java
@SuppressWarnings("unused")
    public static void printError(
        final String channel,
        final int streamId,
        final int sessionId,
        final String message,
        final HeaderFlyweight cause)
    {
        System.out.println(message);
    }
@SuppressWarnings("unused")
    public static void printError(
        final String channel,
        final int streamId,
        final int sessionId,
        final String message,
        final HeaderFlyweight cause)
    {
        System.out.println(message);
    }
@ SuppressWarnings ( "unused" ) public static void printError ( final String channel , final int streamId , final int sessionId , final String message , final HeaderFlyweight cause ) { System . out . println ( message ) ; }
Generic error handler that just prints message to stdout.

@param channel   for the error
@param streamId  for the error
@param sessionId for the error, if source
@param message   indicating what the error was
@param cause     of the error
Generic error handler that just prints message to stdout .