public class ExceptionUtility extends Object
Modifier and Type | Method and Description |
---|---|
static Exception |
exception(Throwable t) |
static void |
throwJAFEOrUJEOrNCEOrPE(Exception e) |
static void |
throwNCE(Exception e) |
static RuntimeException |
throwNCEOrPE(Exception e) |
static void |
throwNCEOrPEOrSCEOrJCE(Exception e) |
static void |
throwUJEOrNCEOrPE(Exception e) |
static void |
throwUJEOrNCEOrPEOrUTE(Exception e) |
public static void throwNCE(Exception e) throws NotConnectedException
NotConnectedException
public static RuntimeException throwNCEOrPE(Exception e) throws NotConnectedException, PermissionException
public static void throwUJEOrNCEOrPE(Exception e) throws UnknownJobException, NotConnectedException, PermissionException
public static void throwUJEOrNCEOrPEOrUTE(Exception e) throws UnknownJobException, NotConnectedException, PermissionException, UnknownTaskException
public static void throwNCEOrPEOrSCEOrJCE(Exception e) throws NotConnectedException, PermissionException, SubmissionClosedException, JobCreationException
public static void throwJAFEOrUJEOrNCEOrPE(Exception e) throws JobAlreadyFinishedException, UnknownJobException, NotConnectedException, PermissionException