org.ws4d.java.communication
Class VersionMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ws4d.java.communication.VersionMismatchException
All Implemented Interfaces:
java.io.Serializable

public class VersionMismatchException
extends java.lang.Exception

Thrown to indicate that an invalid version of a Web Services standard (such as SOAP, WS-Addresing, DPWS, etc.) was found within a DPWS message.

See Also:
Serialized Form

Field Summary
static int TYPE_WRONG_ADDRESSING_VERSION
           
static int TYPE_WRONG_DPWS_VERSION
           
static int TYPE_WRONG_SOAP_VERSION
           
 
Constructor Summary
VersionMismatchException(java.lang.String message, int type)
           
 
Method Summary
 int getType()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_WRONG_SOAP_VERSION

public static final int TYPE_WRONG_SOAP_VERSION
See Also:
Constant Field Values

TYPE_WRONG_ADDRESSING_VERSION

public static final int TYPE_WRONG_ADDRESSING_VERSION
See Also:
Constant Field Values

TYPE_WRONG_DPWS_VERSION

public static final int TYPE_WRONG_DPWS_VERSION
See Also:
Constant Field Values
Constructor Detail

VersionMismatchException

public VersionMismatchException(java.lang.String message,
                                int type)
Parameters:
message -
Method Detail

getType

public int getType()