public static CoreException fromExceptionMessage(Throwable cause, String nlsMessage, Object[] args) { CoreException ce = new CoreException(createExceptionStatus(cause, nlsMessage, args)); if (cause != null) ce.initCause(cause); return ce; }
public static CoreException wrap(IStatus status) { CoreException e = new CoreException(status); Throwable t = status.getException(); if (t != null) e.initCause(t); return e; }
public static CoreException fromExceptionMessage(Throwable cause, String nlsMessage, Object[] args) { CoreException ce = new CoreException(createExceptionStatus(cause, nlsMessage, args)); if (cause != null) ce.initCause(cause); return ce; }
public static CoreException wrap(IStatus status) { CoreException e = new CoreException(status); Throwable t = status.getException(); if (t != null) e.initCause(t); return e; }
public static CoreException fromExceptionMessage(Throwable cause, String nlsMessage, Object[] args) { CoreException ce = new CoreException(createExceptionStatus(cause, nlsMessage, args)); if (cause != null) ce.initCause(cause); return ce; }
public static CoreException wrap(IStatus status) { CoreException e = new CoreException(status); Throwable t = status.getException(); if (t != null) e.initCause(t); return e; }