wro4j-core/src/main/java/ro/isdc/wro/WroRuntimeException.java
public static WroRuntimeException wrap(final Exception e, final String message) {
    if (e instanceof WroRuntimeException) {
      return (WroRuntimeException) e;
    }
    return new WroRuntimeException(message, e);
  }
public static WroRuntimeException wrap(final Exception e, final String message) {
    if (e instanceof WroRuntimeException) {
      return (WroRuntimeException) e;
    }
    return new WroRuntimeException(message, e);
  }
public static WroRuntimeException wrap ( final Exception e , final String message ) { if ( e instanceof WroRuntimeException ) { return ( WroRuntimeException ) e ; } return new WroRuntimeException ( message , e ) ; }
Wraps original exception into {@link WroRuntimeException} and throw it.

@param e
the exception to wrap.
@param message
the message of the exception to wrap.
Wraps original exception into { @link WroRuntimeException } and throw it .