Class RemoteProxyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.marketcetera.util.ws.wrappers.RemoteProxyException
-
- All Implemented Interfaces:
Serializable
public class RemoteProxyException extends Exception
A partial, client-side representation of a server exception, when the full exception cannot be reconstructed.- Since:
- 1.0.0
- Version:
- $Id: RemoteProxyException.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- tlerios@marketcetera.com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private StringmServerNameprivate StringmServerStringprivate String[]mTraceCaptureprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description RemoteProxyException(String message, String[] traceCapture, String serverString, String serverName)Creates a new client-side representation of a server exception, whose marshalled information is given.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetServerName()Returns the receiver's server class name.StackTraceElement[]getStackTrace()String[]getTraceCapture()Returns the receiver's stack trace capture.inthashCode()voidprintStackTrace()voidprintStackTrace(PrintStream s)voidprintStackTrace(PrintWriter s)StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mTraceCapture
private final String[] mTraceCapture
-
mServerString
private final String mServerString
-
mServerName
private final String mServerName
-
-
Constructor Detail
-
RemoteProxyException
public RemoteProxyException(String message, String[] traceCapture, String serverString, String serverName)
Creates a new client-side representation of a server exception, whose marshalled information is given.- Parameters:
message- The server-localized message, which may be null.traceCapture- The stack trace capture, which may be null.serverString- The server string representation, which may be null.serverName- The server class name, which may be null.
-
-
Method Detail
-
getTraceCapture
public String[] getTraceCapture()
Returns the receiver's stack trace capture.- Returns:
- The capture, which may be null.
-
getServerName
public String getServerName()
Returns the receiver's server class name.- Returns:
- The name, which may be null.
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTracein classThrowable
-
getStackTrace
public StackTraceElement[] getStackTrace()
- Overrides:
getStackTracein classThrowable
-
-