public static UnitResponse createException ( String errCode , Throwable exception ) { return UnitResponse . createException ( exception ) . setCode ( errCode ) ; }
Create an exception unit response object .