src/main/java/pityoulish/jrmi/server/Catalog.java
public final APIException asApiXWithCause(Throwable cause,
                                             Object... params)
   {
     String msg = format(params);
     return new APIException(msg, cause);
   }
/**
    * Formats this text entry into an {@link APIException},
    * 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>.
    * <br><b>Note:</b>  The client side might be missing classes necessary
    *                   to deserialize the root cause!
    * @param params     the parameters for formatting
    *
    * @return   an exception object with the formatted message and
    *           given root cause
    */
Formats this text entry into an  APIException,
with root cause.
The exception is returned as an object,
throwing it is left to the caller.

@param cause      the root cause, or null.
Note:  The client side might be missing classes necessary
to deserialize the root cause.
@param params     the parameters for formatting

@return   an exception object with the formatted message and
given root cause
Formats this text entry into an APIException with root cause . The exception is returned as an object throwing it is left to the caller . @param cause the root cause or null . Note : The client side might be missing classes necessary to deserialize the root cause . @param params the parameters for formatting @return an exception object with the formatted message and given root cause
public final APIException asApiXWithCause(Throwable cause,
                                             Object... params)
   {
     String msg = format(params);
     return new APIException(msg, cause);
   }
public final APIException asApiXWithCause ( Throwable cause , Object ... params ) { String msg = format ( params ) ; return new APIException ( msg , cause ) ; }
Formats this text entry into an {@link APIException},
 with root cause.
Formats this text entry into an { @link APIException } with root cause .