private static void abort(String message,Throwable exception,int code) throws CoreException {
  throw new CoreException(new Status(IStatus.ERROR,TypeScriptCorePlugin.PLUGIN_ID,code,message,exception));
}

private static void abort ( String message , Throwable exception , int code ) throws CoreException { throw new CoreException ( new Status ( IStatus . ERROR , TypeScriptCorePlugin . PLUGIN_ID , code , message , exception ) ) ; }
throws a core exception with an error status object built from the given message , lower level exception , and error code .
