public class RemoteException extends AutomationException
Modifier and Type | Field and Description |
---|---|
protected String |
info |
protected Throwable |
remoteCause |
protected int |
status |
protected String |
type |
Constructor and Description |
---|
RemoteException(int status,
String type,
String message,
String info) |
RemoteException(int status,
String type,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
protected static String |
extractInfo(Throwable t) |
Throwable |
getRemoteCause() |
String |
getRemoteStackTrace() |
int |
getStatus() |
String |
getType() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
static RemoteException |
wrap(String message,
Throwable t) |
static RemoteException |
wrap(String message,
Throwable t,
int status) |
static RemoteException |
wrap(Throwable t) |
static RemoteException |
wrap(Throwable t,
int status) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
protected final int status
protected final Throwable remoteCause
public RemoteException(int status, String type, String message, Throwable cause)
public RemoteException(int status, String type, String message, String info)
public int getStatus()
protected static String extractInfo(Throwable t)
public Throwable getRemoteCause()
public String getRemoteStackTrace()
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
public static RemoteException wrap(Throwable t)
public static RemoteException wrap(Throwable t, int status)
public static RemoteException wrap(String message, Throwable t)
public static RemoteException wrap(String message, Throwable t, int status)
Copyright © 2018 Nuxeo. All rights reserved.