Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client
Class RemoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.nuxeo.ecm.automation.client.AutomationException
                  extended by org.nuxeo.ecm.automation.client.RemoteException
All Implemented Interfaces:
Serializable

public class RemoteException
extends AutomationException

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
RemoteException(int status, String type, String message, String stackTrace)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteException

public RemoteException(int status,
                       String type,
                       String message,
                       String stackTrace)
Method Detail

getStatus

public int getStatus()

getType

public String getType()

getRemoteStackTrace

public String getRemoteStackTrace()

printStackTrace

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

printStackTrace

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

wrap

public static RemoteException wrap(Throwable t)

wrap

public static RemoteException wrap(Throwable t,
                                   int status)

wrap

public static RemoteException wrap(String message,
                                   Throwable t)

wrap

public static RemoteException wrap(String message,
                                   Throwable t,
                                   int status)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.