org.kie.services.client.serialization.jaxb.rest
Class JaxbExceptionResponse
java.lang.Object
org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
org.kie.services.client.serialization.jaxb.impl.AbstractJaxbCommandResponse<String>
org.kie.services.client.serialization.jaxb.rest.JaxbExceptionResponse
- All Implemented Interfaces:
- JaxbCommandResponse<String>
public class JaxbExceptionResponse
- extends AbstractJaxbCommandResponse<String>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cause
public Exception cause
JaxbExceptionResponse
public JaxbExceptionResponse()
JaxbExceptionResponse
public JaxbExceptionResponse(Exception e,
int i,
org.kie.api.command.Command<?> cmd,
JaxbRequestStatus status)
JaxbExceptionResponse
public JaxbExceptionResponse(String requestUrl,
Exception e,
JaxbRequestStatus status)
convertStackTraceToString
public static String convertStackTraceToString(Throwable t)
getResult
public String getResult()
- Returns:
- The result object generated by the command. If the command does not return an object, null.
setResult
public void setResult(String result)
- Description copied from interface:
JaxbCommandResponse
- This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
getMessage
public String getMessage()
setMessage
public void setMessage(String message)
getCause
public Exception getCause()
setCause
public void setCause(Exception cause)
getStackTrace
public String getStackTrace()
setStackTrace
public void setStackTrace(String stackTrace)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.