package de.innoaccel.wamp.server.message;

public class CallErrorMessage implements Message
{
    private String callId;

    private String errorURI;

    private String errorDesc;

    private String errorDetails;

    public CallErrorMessage(String callId, String errorURI, String errorDesc)
    {
        this(callId, errorURI, errorDesc, null);
    }

    public CallErrorMessage(String callId, String errorURI, String errorDesc, String errorDetails)
    {
        this.callId = callId;
        this.errorURI = errorURI;
        this.errorDesc = errorDesc;
        this.errorDetails = errorDetails;
    }

    @Override
    public int getMessageCode()
    {
        return Message.CALL_ERROR;
    }

    public String  getCallId()
    {
        return this.callId;
    }

    public String getErrorURI()
    {
        return this.errorURI;
    }

    public String getErrorDesc()
    {
        return this.errorDesc;
    }

    public String getErrorDetails()
    {
        return this.errorDetails;
    }
}

@@ -180,38 +180,38 @@
 c;%0A%0A    private 
-String
+Object
  errorDetails;%0A%0A
@@ -428,22 +428,22 @@
 orDesc, 
-String
+Object
  errorDe
@@ -925,38 +925,38 @@
   %7D%0A%0A    public 
-String
+Object
  getErrorDetails

Allow error details to be any type