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 |
throwNCEOrKEOrLEOrSE(Exception e) |
static RuntimeException |
throwNCEOrPE(Exception e) |
static void |
throwNCEOrPEOrSCEOrJCE(Exception e) |
static void |
throwSAEorUJEOrNCEOrPE(Exception e) |
static void |
throwUJEOrNCE(Exception e) |
static void |
throwUJEOrNCEOrPE(Exception e) |
static void |
throwUJEOrNCEOrPEOrUTE(Exception e) |
public static void throwNCE(Exception e) throws NotConnectedException
NotConnectedException
public static RuntimeException throwNCEOrKEOrLEOrSE(Exception e) throws SchedulerException, LoginException, KeyException
public static RuntimeException throwNCEOrPE(Exception e) throws NotConnectedException, PermissionException
public static void throwUJEOrNCEOrPE(Exception e) throws UnknownJobException, NotConnectedException, PermissionException
public static void throwUJEOrNCE(Exception e) throws UnknownJobException, NotConnectedException
public static void throwSAEorUJEOrNCEOrPE(Exception e) throws SignalApiException, 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