00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_REQUEST_INCOMPLETE_EXCEPTION_HPP
00017 #define COH_REQUEST_INCOMPLETE_EXCEPTION_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/io/pof/PofReader.hpp"
00022 #include "coherence/io/pof/PofWriter.hpp"
00023 #include "coherence/io/pof/PortableException.hpp"
00024
00025 COH_OPEN_NAMESPACE2(coherence,net)
00026
00027 using coherence::io::pof::PofReader;
00028 using coherence::io::pof::PofWriter;
00029 using coherence::io::pof::PortableException;
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 class COH_EXPORT RequestIncompleteException
00041 : public throwable_spec<RequestIncompleteException,
00042 extends<PortableException> >
00043 {
00044 friend class factory<RequestIncompleteException>;
00045
00046
00047
00048 protected:
00049
00050
00051
00052
00053
00054
00055 RequestIncompleteException(String::View vsMsg = String::null_string,
00056 Exception::View vCause = NULL);
00057
00058
00059
00060
00061 RequestIncompleteException(const RequestIncompleteException&);
00062
00063
00064
00065
00066 public:
00067
00068
00069
00070
00071
00072
00073
00074 virtual Object::Holder getPartialResult() const;
00075
00076
00077
00078
00079
00080
00081 virtual void setPartialResult(Object::Holder ohPartialResult);
00082
00083
00084
00085
00086 public:
00087
00088
00089
00090 virtual void readExternal(PofReader::Handle hIn);
00091
00092
00093
00094
00095 virtual void writeExternal(PofWriter::Handle hOut) const;
00096
00097
00098
00099
00100 protected:
00101
00102
00103
00104 FinalHolder<Object> f_ohPartialResult;
00105 };
00106
00107 COH_CLOSE_NAMESPACE2
00108
00109 #endif // COH_REQUEST_INCOMPLETE_EXCEPTION_HPP