org.marketcetera.util.ws.wrappers
Class RemoteProxyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
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
 boolean equals(Object other)
           
 String getServerName()
          Returns the receiver's server class name.
 StackTraceElement[] getStackTrace()
           
 String[] getTraceCapture()
          Returns the receiver's stack trace capture.
 int hashCode()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class Throwable

getStackTrace

public StackTraceElement[] getStackTrace()
Overrides:
getStackTrace in class Throwable

toString

public String toString()
Overrides:
toString in class Throwable

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.