soapdust
Class MalformedResponseException

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

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

responseCode

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


response

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

MalformedResponseException

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

MalformedResponseException

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