Class MalformedResponseException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by soapdust.MalformedResponseException
All Implemented Interfaces:

public class MalformedResponseException
extends java.lang.Exception

Thrown when the server returned invalid soap data. It sometimes occurs when a basic authentication fails...

See Also:
Serialized Form

Field Summary
 byte[] response
          The invalid soap data sent by the server.
 int responseCode
          The http status code returned by the server.
Constructor Summary
MalformedResponseException(java.lang.String message, java.lang.Exception e)
MalformedResponseException(java.lang.String message, int responseCode, byte[] data)
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public int responseCode
The http status code returned by the server.


public byte[] response
The invalid soap data sent by the server. This field may be null.

See Also:
if you want to ensure this field is NEVER null.
Constructor Detail


public MalformedResponseException(java.lang.String message,
                                  java.lang.Exception e)


public MalformedResponseException(java.lang.String message,
                                  int responseCode,
                                  byte[] data)