Sun Adapter for File API

com.stc.connector.fileadapter.webservice
Class FileFaultMessage

java.lang.Object
  extended by com.stc.connector.fileadapter.webservice.FileFaultMessage
All Implemented Interfaces:
com.stc.connector.persistence.bpel.PersistableData

public class FileFaultMessage
extends java.lang.Object
implements com.stc.connector.persistence.bpel.PersistableData

Fault class for File eway's Web Service.


Constructor Summary
FileFaultMessage()
          Creates a new instance of FileFaultMessage without detail message.
FileFaultMessage(java.lang.String msg)
          Constructs an instance of FileFaultMessage with the specified detail message.
 
Method Summary
 java.lang.String getMessage()
           
 void persist(com.stc.connector.persistence.bpel.DataOutput dos)
          Persists (serialize) this message.
 void restore(com.stc.connector.persistence.bpel.DataInput dis)
          Restore (deserialize) this message.
 void setMessage(java.lang.String aMsg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFaultMessage

public FileFaultMessage()
Creates a new instance of FileFaultMessage without detail message.


FileFaultMessage

public FileFaultMessage(java.lang.String msg)
Constructs an instance of FileFaultMessage with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

persist

public void persist(com.stc.connector.persistence.bpel.DataOutput dos)
             throws java.lang.Exception
Persists (serialize) this message.

Specified by:
persist in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dos - The DataOutput to which the Java Bean message is persisted.
Throws:
java.lang.Exception - upon error.

restore

public void restore(com.stc.connector.persistence.bpel.DataInput dis)
             throws java.lang.Exception
Restore (deserialize) this message.

Specified by:
restore in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dis - The DataInput from which the Java Bean message is restored.
Throws:
java.lang.Exception - upon error.

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String aMsg)

Sun Adapter for File API

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.