src/main/java/pityoulish/sockets/server/Catalog.java
public final ProtocolException asPXwithCause(Throwable cause,
                                                Object... params)
   {
     String msg = format(params);
     return new ProtocolException(msg, cause);
   }
/**
    * Formats this text entry into a {@link ProtocolException},
    * with root cause.
    * The exception is returned as an object,
    * throwing it is left to the caller.
    *
    * @param cause      the root cause, or <code>null</code>
    * @param params     the parameters for formatting
    *
    * @return   an exception object with the formatted message and
    *           given root cause
    */
Formats this text entry into a  ProtocolException,
with root cause.
The exception is returned as an object,
throwing it is left to the caller.

@param cause      the root cause, or null
@param params     the parameters for formatting

@return   an exception object with the formatted message and
given root cause
Formats this text entry into a ProtocolException with root cause . The exception is returned as an object throwing it is left to the caller . @param cause the root cause or null @param params the parameters for formatting @return an exception object with the formatted message and given root cause
public final ProtocolException asPXwithCause(Throwable cause,
                                                Object... params)
   {
     String msg = format(params);
     return new ProtocolException(msg, cause);
   }
public final ProtocolException asPXwithCause ( Throwable cause , Object ... params ) { String msg = format ( params ) ; return new ProtocolException ( msg , cause ) ; }
Formats this text entry into a {@link ProtocolException},
 with root cause.
Formats this text entry into a { @link ProtocolException } with root cause .