org.apache.struts2.json.rpc
Class RPCError

java.lang.Object
  extended by org.apache.struts2.json.rpc.RPCError

public class RPCError
extends java.lang.Object


Constructor Summary
RPCError()
           
RPCError(java.lang.String message, int code)
           
RPCError(java.lang.String message, RPCErrorCode code)
           
RPCError(java.lang.Throwable t, int code, boolean debug)
           
RPCError(java.lang.Throwable t, RPCErrorCode code, boolean debug)
           
 
Method Summary
 int getCode()
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 java.lang.String getStack()
           
 void setCode(int code)
           
 void setMessage(java.lang.String message)
           
 void setName(java.lang.String name)
           
 void setStack(java.lang.String stack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCError

public RPCError()

RPCError

public RPCError(java.lang.String message,
                int code)

RPCError

public RPCError(java.lang.String message,
                RPCErrorCode code)

RPCError

public RPCError(java.lang.Throwable t,
                int code,
                boolean debug)

RPCError

public RPCError(java.lang.Throwable t,
                RPCErrorCode code,
                boolean debug)
Method Detail

getCode

public int getCode()

setCode

public void setCode(int code)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

getStack

public java.lang.String getStack()

setStack

public void setStack(java.lang.String stack)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.