FileDocCategorySizeDatePackage
RMException.javaAPI DocExample3097Tue May 29 16:56:40 BST 2007com.sun.xml.ws.rm

RMException

public class RMException extends Exception
Wrapper class for exceptions thrown by RM Methods.

Fields Summary
private final com.sun.xml.ws.api.message.Message
faultMessage
Constructors Summary
public RMException()

        this.faultMessage = null;
    
public RMException(String str)

        super(str);
        this.faultMessage = null;
    
public RMException(Throwable t)

        super(t);
        this.faultMessage = null;
    
public RMException(com.sun.xml.ws.api.message.Message e)

         this.faultMessage= e;
     
public RMException(String s, com.sun.xml.ws.api.message.Message message)

        super(s);
        this.faultMessage = message;
    
Methods Summary
public com.sun.xml.ws.api.message.MessagegetFaultMessage()
Returns a Message containign a Fault defined by WS-RM.

return
The Fault message null if there is no mapped Fault message

        return faultMessage;