You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/11/08 21:20:36 UTC
svn commit: r1407255 [1/4] - in
/activemq/activemq-cpp/trunk/activemq-cpp/src/main: ./ decaf/io/
decaf/lang/ decaf/lang/exceptions/ decaf/net/ decaf/nio/
Author: tabish
Date: Thu Nov 8 20:20:28 2012
New Revision: 1407255
URL: http://svn.apache.org/viewvc?rev=1407255&view=rev
Log:
Some cleanup of old code in preparation for future 3.5 release.
Added:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImplFactory.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketTimeoutException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/URISyntaxException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/UnknownHostException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/UnknownServiceException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/BufferOverflowException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/BufferUnderflowException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/InvalidMarkException.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ReadOnlyBufferException.cpp (with props)
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImplFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketTimeoutException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/URISyntaxException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/UnknownHostException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/UnknownServiceException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/BufferOverflowException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/BufferUnderflowException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/InvalidMarkException.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ReadOnlyBufferException.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am Thu Nov 8 20:20:28 2012
@@ -386,50 +386,95 @@ cc_sources = \
decaf/io/BufferedOutputStream.cpp \
decaf/io/ByteArrayInputStream.cpp \
decaf/io/ByteArrayOutputStream.cpp \
+ decaf/io/Closeable.cpp \
+ decaf/io/DataInput.cpp \
decaf/io/DataInputStream.cpp \
+ decaf/io/DataOutput.cpp \
decaf/io/DataOutputStream.cpp \
+ decaf/io/EOFException.cpp \
decaf/io/FileDescriptor.cpp \
decaf/io/FilterInputStream.cpp \
decaf/io/FilterOutputStream.cpp \
+ decaf/io/Flushable.cpp \
+ decaf/io/IOException.cpp \
decaf/io/InputStream.cpp \
decaf/io/InputStreamReader.cpp \
+ decaf/io/InterruptedIOException.cpp \
decaf/io/OutputStream.cpp \
decaf/io/OutputStreamWriter.cpp \
decaf/io/PushbackInputStream.cpp \
decaf/io/Reader.cpp \
+ decaf/io/UTFDataFormatException.cpp \
+ decaf/io/UnsupportedEncodingException.cpp \
decaf/io/Writer.cpp \
+ decaf/lang/Appendable.cpp \
decaf/lang/Boolean.cpp \
decaf/lang/Byte.cpp \
+ decaf/lang/CharSequence.cpp \
decaf/lang/Character.cpp \
+ decaf/lang/Comparable.cpp \
decaf/lang/Double.cpp \
decaf/lang/Exception.cpp \
decaf/lang/Float.cpp \
decaf/lang/Integer.cpp \
+ decaf/lang/Iterable.cpp \
decaf/lang/Long.cpp \
decaf/lang/Math.cpp \
+ decaf/lang/Readable.cpp \
+ decaf/lang/Runnable.cpp \
+ decaf/lang/Runtime.cpp \
decaf/lang/Short.cpp \
decaf/lang/String.cpp \
decaf/lang/System.cpp \
decaf/lang/Thread.cpp \
decaf/lang/ThreadGroup.cpp \
decaf/lang/ThreadLocal.cpp \
+ decaf/lang/Throwable.cpp \
decaf/lang/Types.cpp \
+ decaf/lang/exceptions/ClassCastException.cpp \
+ decaf/lang/exceptions/IllegalArgumentException.cpp \
+ decaf/lang/exceptions/IllegalMonitorStateException.cpp \
+ decaf/lang/exceptions/IllegalStateException.cpp \
+ decaf/lang/exceptions/IllegalThreadStateException.cpp \
+ decaf/lang/exceptions/IndexOutOfBoundsException.cpp \
+ decaf/lang/exceptions/InterruptedException.cpp \
+ decaf/lang/exceptions/InvalidStateException.cpp \
+ decaf/lang/exceptions/NegativeArraySizeException.cpp \
+ decaf/lang/exceptions/NullPointerException.cpp \
+ decaf/lang/exceptions/NumberFormatException.cpp \
+ decaf/lang/exceptions/OutOfMemoryError.cpp \
+ decaf/lang/exceptions/RuntimeException.cpp \
+ decaf/lang/exceptions/UnsupportedOperationException.cpp \
+ decaf/net/BindException.cpp \
+ decaf/net/ConnectException.cpp \
decaf/net/DatagramPacket.cpp \
+ decaf/net/HttpRetryException.cpp \
decaf/net/Inet4Address.cpp \
decaf/net/Inet6Address.cpp \
decaf/net/InetAddress.cpp \
decaf/net/InetSocketAddress.cpp \
+ decaf/net/MalformedURLException.cpp \
+ decaf/net/NoRouteToHostException.cpp \
+ decaf/net/PortUnreachableException.cpp \
+ decaf/net/ProtocolException.cpp \
decaf/net/ServerSocket.cpp \
decaf/net/ServerSocketFactory.cpp \
decaf/net/Socket.cpp \
+ decaf/net/SocketAddress.cpp \
decaf/net/SocketError.cpp \
+ decaf/net/SocketException.cpp \
decaf/net/SocketFactory.cpp \
decaf/net/SocketImpl.cpp \
+ decaf/net/SocketImplFactory.cpp \
decaf/net/SocketOptions.cpp \
+ decaf/net/SocketTimeoutException.cpp \
decaf/net/URI.cpp \
+ decaf/net/URISyntaxException.cpp \
decaf/net/URL.cpp \
decaf/net/URLDecoder.cpp \
decaf/net/URLEncoder.cpp \
+ decaf/net/UnknownHostException.cpp \
+ decaf/net/UnknownServiceException.cpp \
decaf/net/ssl/SSLContext.cpp \
decaf/net/ssl/SSLContextSpi.cpp \
decaf/net/ssl/SSLParameters.cpp \
@@ -438,12 +483,16 @@ cc_sources = \
decaf/net/ssl/SSLSocket.cpp \
decaf/net/ssl/SSLSocketFactory.cpp \
decaf/nio/Buffer.cpp \
+ decaf/nio/BufferOverflowException.cpp \
+ decaf/nio/BufferUnderflowException.cpp \
decaf/nio/ByteBuffer.cpp \
decaf/nio/CharBuffer.cpp \
decaf/nio/DoubleBuffer.cpp \
decaf/nio/FloatBuffer.cpp \
decaf/nio/IntBuffer.cpp \
+ decaf/nio/InvalidMarkException.cpp \
decaf/nio/LongBuffer.cpp \
+ decaf/nio/ReadOnlyBufferException.cpp \
decaf/nio/ShortBuffer.cpp \
decaf/security/SecureRandom.cpp \
decaf/security/SecureRandomSpi.cpp \
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Closeable.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+Closeable::~Closeable() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Closeable.h Thu Nov 8 20:20:28 2012
@@ -21,8 +21,8 @@
#include <decaf/util/Config.h>
#include <decaf/io/IOException.h>
-namespace decaf{
-namespace io{
+namespace decaf {
+namespace io {
/**
* Interface for a class that implements the close method.
@@ -30,7 +30,7 @@ namespace io{
class DECAF_API Closeable {
public:
- virtual ~Closeable(){}
+ virtual ~Closeable();
/**
* Closes this object and deallocates the appropriate resources.
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "DataInput.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+DataInput::~DataInput() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.h Thu Nov 8 20:20:28 2012
@@ -51,8 +51,7 @@ namespace io {
class DECAF_API DataInput {
public:
- virtual ~DataInput() {
- }
+ virtual ~DataInput();
/**
* Reads in one byte and returns true if that byte is nonzero, false if that
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "DataOutput.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+DataOutput::~DataOutput() {
+}
+
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.h Thu Nov 8 20:20:28 2012
@@ -47,8 +47,7 @@ namespace io {
class DECAF_API DataOutput {
public:
- virtual ~DataOutput() {
- }
+ virtual ~DataOutput();
/**
* Writes a boolean to the underlying output stream as a 1-byte value. The
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "EOFException.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::EOFException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::~EOFException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::EOFException(const Exception& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::EOFException(const EOFException& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::EOFException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::EOFException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+EOFException::EOFException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.h Thu Nov 8 20:20:28 2012
@@ -15,13 +15,13 @@
* limitations under the License.
*/
-#ifndef _DECAF_IO_EOFEXCEPTION_H
-#define _DECAF_IO_EOFEXCEPTION_H
+#ifndef _DECAF_IO_EOFEXCEPTION_H_
+#define _DECAF_IO_EOFEXCEPTION_H_
#include <decaf/io/IOException.h>
-namespace decaf{
-namespace io{
+namespace decaf {
+namespace io {
/*
* Signals that an End of File exception has occurred.
@@ -32,50 +32,41 @@ namespace io{
/**
* Default Constructor
*/
- EOFException() {}
+ EOFException();
/**
* Copy Constructor
+ *
* @param ex the exception to copy
*/
- EOFException(const lang::Exception& ex) : IOException() {
- *(lang::Exception*) this = ex;
- }
+ EOFException(const lang::Exception& ex);
/**
* Copy Constructor
+ *
* @param ex the exception to copy, which is an instance of this type
*/
- EOFException(const EOFException& ex) : IOException() {
- *(lang::Exception*) this = ex;
- }
+ EOFException(const EOFException& ex);
/**
* Constructor - Initializes the file name and line number where
* this message occurred. Sets the message to report, using an
* optional list of arguments to parse into the message
+ *
* @param file The file name where exception occurs
* @param lineNumber The line number where the exception occurred.
* @param cause The exception that was the cause for this one to be thrown.
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- EOFException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : IOException(cause) {
- va_list vargs;
- va_start(vargs, msg);
- buildMessage(msg, vargs);
-
- // Set the first mark for this exception.
- setMark(file, lineNumber);
- }
+ EOFException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
/**
* Constructor
* @param cause Pointer to the exception that caused this one to
* be thrown, the object is cloned caller retains ownership.
*/
- EOFException(const std::exception* cause) : IOException(cause) {
- }
+ EOFException(const std::exception* cause);
/**
* Constructor
@@ -85,14 +76,7 @@ namespace io{
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- EOFException(const char* file, const int lineNumber, const char* msg, ...) : IOException() {
- va_list vargs;
- va_start(vargs, msg);
- buildMessage(msg, vargs);
-
- // Set the first mark for this exception.
- setMark(file, lineNumber);
- }
+ EOFException(const char* file, const int lineNumber, const char* msg, ...);
/**
* Clones this exception. This is useful for cases where you need
@@ -105,10 +89,10 @@ namespace io{
return new EOFException(*this);
}
- virtual ~EOFException() throw () {}
+ virtual ~EOFException() throw ();
};
}}
-#endif /*_DECAF*/
+#endif /*_DECAF_IO_EOFEXCEPTION_H_*/
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Flushable.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+Flushable::~Flushable() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Flushable.h Thu Nov 8 20:20:28 2012
@@ -34,7 +34,7 @@ namespace io {
class DECAF_API Flushable {
public:
- virtual ~Flushable() {}
+ virtual ~Flushable();
/**
* Flushes this stream by writing any buffered output to the underlying stream.
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IOException.h"
+
+using namespace decaf;
+using namespace decaf::io;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::IOException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::~IOException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::IOException(const Exception& ex) : Exception() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::IOException(const IOException& ex) : Exception() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::IOException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::IOException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IOException::IOException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.h Thu Nov 8 20:20:28 2012
@@ -14,13 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef _DECAF_IO_IOEXCEPTION_H
-#define _DECAF_IO_IOEXCEPTION_H
+#ifndef _DECAF_IO_IOEXCEPTION_H_
+#define _DECAF_IO_IOEXCEPTION_H_
#include <decaf/lang/Exception.h>
-namespace decaf{
-namespace io{
+namespace decaf {
+namespace io {
/*
* Signals that an I/O exception of some sort has occurred.
@@ -31,72 +31,50 @@ namespace io{
/**
* Default Constructor
*/
- IOException() {}
+ IOException();
/**
* Copy Constructor
* @param ex the exception to copy
*/
- IOException( const lang::Exception& ex )
- : lang::Exception() {
- *(lang::Exception*)this = ex;
- }
+ IOException(const lang::Exception& ex);
/**
* Copy Constructor
* @param ex the exception to copy, which is an instance of this type
*/
- IOException( const IOException& ex )
- : lang::Exception() {
- *(lang::Exception*)this = ex;
- }
+ IOException(const IOException& ex);
/**
* Constructor - Initializes the file name and line number where
* this message occurred. Sets the message to report, using an
* optional list of arguments to parse into the message
+ *
* @param file The file name where exception occurs
* @param lineNumber The line number where the exception occurred.
* @param cause The exception that was the cause for this one to be thrown.
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- IOException( const char* file, const int lineNumber,
- const std::exception* cause,
- const char* msg, ... ) : lang::Exception( cause )
- {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ IOException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
/**
* Constructor
+ *
* @param cause Pointer to the exception that caused this one to
* be thrown, the object is cloned caller retains ownership.
*/
- IOException( const std::exception* cause ) : lang::Exception( cause ) {}
+ IOException(const std::exception* cause);
/**
* Constructor
+ *
* @param file The file name where exception occurs
* @param lineNumber The line number where the exception occurred.
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- IOException( const char* file, const int lineNumber,
- const char* msg, ... )
- : lang::Exception() {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ IOException(const char* file, const int lineNumber, const char* msg, ...);
/**
* Clones this exception. This is useful for cases where you need
@@ -106,13 +84,13 @@ namespace io{
* @return a new instance of an Exception that is a copy of this instance.
*/
virtual IOException* clone() const {
- return new IOException( *this );
+ return new IOException(*this);
}
- virtual ~IOException() throw() {}
+ virtual ~IOException() throw();
};
}}
-#endif /*_DECAF_IO_IOEXCEPTION_H*/
+#endif /*_DECAF_IO_IOEXCEPTION_H_*/
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "InterruptedIOException.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::InterruptedIOException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::~InterruptedIOException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::InterruptedIOException(const Exception& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::InterruptedIOException(const InterruptedIOException& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::InterruptedIOException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::InterruptedIOException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedIOException::InterruptedIOException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.h Thu Nov 8 20:20:28 2012
@@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef _DECAF_IO_INTERRUPTEDIOEXCEPTION_H
-#define _DECAF_IO_INTERRUPTEDIOEXCEPTION_H
+#ifndef _DECAF_IO_INTERRUPTEDIOEXCEPTION_H_
+#define _DECAF_IO_INTERRUPTEDIOEXCEPTION_H_
#include <decaf/lang/Exception.h>
#include <decaf/io/IOException.h>
-namespace decaf{
-namespace io{
+namespace decaf {
+namespace io {
/*
* Signals that an I/O exception of some sort has occurred.
@@ -32,54 +32,40 @@ namespace io{
/**
* Default Constructor
*/
- InterruptedIOException() {}
+ InterruptedIOException();
/**
* Copy Constructor
* @param ex the exception to copy
*/
- InterruptedIOException( const lang::Exception& ex )
- : IOException() {
- *(lang::Exception*)this = ex;
- }
+ InterruptedIOException(const lang::Exception& ex);
/**
* Copy Constructor
* @param ex the exception to copy, which is an instance of this type
*/
- InterruptedIOException( const InterruptedIOException& ex )
- : IOException() {
- *(lang::Exception*)this = ex;
- }
+ InterruptedIOException(const InterruptedIOException& ex);
/**
* Constructor - Initializes the file name and line number where
* this message occurred. Sets the message to report, using an
* optional list of arguments to parse into the message
+ *
* @param file The file name where exception occurs
* @param lineNumber The line number where the exception occurred.
* @param cause The exception that was the cause for this one to be thrown.
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- InterruptedIOException( const char* file, const int lineNumber,
- const std::exception* cause,
- const char* msg, ... ) : IOException( cause )
- {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ InterruptedIOException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
/**
* Constructor
+ *
* @param cause Pointer to the exception that caused this one to
* be thrown, the object is cloned caller retains ownership.
*/
- InterruptedIOException( const std::exception* cause ) : IOException( cause ) {}
+ InterruptedIOException(const std::exception* cause);
/**
* Constructor
@@ -89,16 +75,7 @@ namespace io{
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- InterruptedIOException( const char* file, const int lineNumber,
- const char* msg, ... )
- : IOException() {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ InterruptedIOException(const char* file, const int lineNumber, const char* msg, ...);
/**
* Clones this exception. This is useful for cases where you need
@@ -108,13 +85,13 @@ namespace io{
* @return a new exception that is a copy of this one.
*/
virtual InterruptedIOException* clone() const {
- return new InterruptedIOException( *this );
+ return new InterruptedIOException(*this);
}
- virtual ~InterruptedIOException() throw() {}
+ virtual ~InterruptedIOException() throw();
};
}}
-#endif /*_DECAF_IO_INTERRUPTEDIOEXCEPTION_H*/
+#endif /*_DECAF_IO_INTERRUPTEDIOEXCEPTION_H_*/
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "UTFDataFormatException.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::UTFDataFormatException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::~UTFDataFormatException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::UTFDataFormatException(const Exception& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::UTFDataFormatException(const UTFDataFormatException& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::UTFDataFormatException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::UTFDataFormatException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UTFDataFormatException::UTFDataFormatException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.h Thu Nov 8 20:20:28 2012
@@ -35,75 +35,52 @@ namespace io {
/**
* Default Constructor
*/
- UTFDataFormatException() {}
+ UTFDataFormatException();
/**
* Copy Constructor
+ *
* @param ex the exception to copy
*/
- UTFDataFormatException( const lang::Exception& ex )
- : IOException()
- {
- *(lang::Exception*)this = ex;
- }
+ UTFDataFormatException(const lang::Exception& ex);
/**
* Copy Constructor
+ *
* @param ex the exception to copy, which is an instance of this type
*/
- UTFDataFormatException( const UTFDataFormatException& ex )
- : IOException()
- {
- *(lang::Exception*)this = ex;
- }
+ UTFDataFormatException(const UTFDataFormatException& ex);
/**
* Constructor - Initializes the file name and line number where
* this message occurred. Sets the message to report, using an
* optional list of arguments to parse into the message
+ *
* @param file The file name where exception occurs
* @param lineNumber The line number where the exception occurred.
* @param cause The exception that was the cause for this one to be thrown.
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- UTFDataFormatException( const char* file, const int lineNumber,
- const std::exception* cause,
- const char* msg, ... ) : IOException( cause )
- {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ UTFDataFormatException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
/**
* Constructor
+ *
* @param cause Pointer to the exception that caused this one to
* be thrown, the object is cloned caller retains ownership.
*/
- UTFDataFormatException( const std::exception* cause ) : IOException( cause ) {}
+ UTFDataFormatException(const std::exception* cause);
/**
* Constructor
+ *
* @param file The file name where exception occurs
* @param lineNumber The line number where the exception occurred.
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- UTFDataFormatException( const char* file, const int lineNumber,
- const char* msg, ... )
- : IOException()
- {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ UTFDataFormatException(const char* file, const int lineNumber, const char* msg, ...);
/**
* Clones this exception. This is useful for cases where you need
@@ -112,11 +89,11 @@ namespace io {
*
* @return A new instance of an Exception object that is a copy of this instance.
*/
- virtual UTFDataFormatException* clone() const{
- return new UTFDataFormatException( *this );
+ virtual UTFDataFormatException* clone() const {
+ return new UTFDataFormatException(*this);
}
- virtual ~UTFDataFormatException() throw() {}
+ virtual ~UTFDataFormatException() throw();
};
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "UnsupportedEncodingException.h"
+
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::UnsupportedEncodingException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::~UnsupportedEncodingException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::UnsupportedEncodingException(const Exception& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::UnsupportedEncodingException(const UnsupportedEncodingException& ex) : io::IOException() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::UnsupportedEncodingException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::UnsupportedEncodingException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedEncodingException::UnsupportedEncodingException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.h Thu Nov 8 20:20:28 2012
@@ -34,27 +34,19 @@ namespace io {
/**
* Default Constructor
*/
- UnsupportedEncodingException() {}
+ UnsupportedEncodingException();
/**
* Copy Constructor
* @param ex the exception to copy
*/
- UnsupportedEncodingException( const lang::Exception& ex )
- : IOException()
- {
- *(lang::Exception*)this = ex;
- }
+ UnsupportedEncodingException(const lang::Exception& ex);
/**
* Copy Constructor
* @param ex the exception to copy, which is an instance of this type
*/
- UnsupportedEncodingException( const UnsupportedEncodingException& ex )
- : IOException()
- {
- *(lang::Exception*)this = ex;
- }
+ UnsupportedEncodingException(const UnsupportedEncodingException& ex);
/**
* Constructor - Initializes the file name and line number where
@@ -66,24 +58,14 @@ namespace io {
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- UnsupportedEncodingException( const char* file, const int lineNumber,
- const std::exception* cause,
- const char* msg, ... ) : IOException( cause )
- {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ UnsupportedEncodingException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
/**
* Constructor
* @param cause Pointer to the exception that caused this one to
* be thrown, the object is cloned caller retains ownership.
*/
- UnsupportedEncodingException( const std::exception* cause ) : IOException( cause ) {}
+ UnsupportedEncodingException(const std::exception* cause);
/**
* Constructor
@@ -92,17 +74,7 @@ namespace io {
* @param msg The message to report
* @param ... list of primitives that are formatted into the message
*/
- UnsupportedEncodingException( const char* file, const int lineNumber,
- const char* msg, ... )
- : IOException()
- {
- va_list vargs;
- va_start( vargs, msg );
- buildMessage( msg, vargs );
-
- // Set the first mark for this exception.
- setMark( file, lineNumber );
- }
+ UnsupportedEncodingException(const char* file, const int lineNumber, const char* msg, ...);
/**
* Clones this exception. This is useful for cases where you need
@@ -111,11 +83,11 @@ namespace io {
*
* @return A new instance of an Exception object that is a copy of this instance.
*/
- virtual UnsupportedEncodingException* clone() const{
- return new UnsupportedEncodingException( *this );
+ virtual UnsupportedEncodingException* clone() const {
+ return new UnsupportedEncodingException(*this);
}
- virtual ~UnsupportedEncodingException() throw() {}
+ virtual ~UnsupportedEncodingException() throw();
};
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Appendable.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+Appendable::~Appendable() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Appendable.h Thu Nov 8 20:20:28 2012
@@ -21,8 +21,8 @@
#include <decaf/lang/Exception.h>
#include <decaf/util/Config.h>
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
class CharSequence;
@@ -47,7 +47,7 @@ namespace lang{
class DECAF_API Appendable {
public:
- virtual ~Appendable() {}
+ virtual ~Appendable();
/**
* Appends the specified character to this Appendable.
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "CharSequence.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+CharSequence::~CharSequence() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/CharSequence.h Thu Nov 8 20:20:28 2012
@@ -21,8 +21,8 @@
#include <decaf/lang/exceptions/IndexOutOfBoundsException.h>
#include <decaf/util/Config.h>
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
/**
* A CharSequence is a readable sequence of char values. This interface provides
@@ -36,7 +36,7 @@ namespace lang{
class DECAF_API CharSequence {
public:
- virtual ~CharSequence() {}
+ virtual ~CharSequence();
/**
* @returns the length of the underlying character sequence.
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Comparable.h"
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Comparable.h Thu Nov 8 20:20:28 2012
@@ -20,8 +20,8 @@
#include <decaf/util/Config.h>
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
/**
* This interface imposes a total ordering on the objects of each class that
@@ -30,7 +30,7 @@ namespace lang{
* comparison method.
*/
template< typename T >
- class DECAF_API Comparable{
+ class DECAF_API Comparable {
public:
virtual ~Comparable() {}
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Iterable.h"
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Iterable.h Thu Nov 8 20:20:28 2012
@@ -21,8 +21,8 @@
#include <decaf/util/Config.h>
#include <decaf/util/Iterator.h>
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
/**
* Implementing this interface allows an object to be cast to an Iterable
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Readable.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+Readable::~Readable() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Readable.h Thu Nov 8 20:20:28 2012
@@ -39,7 +39,7 @@ namespace lang {
class DECAF_API Readable {
public:
- virtual ~Readable() {}
+ virtual ~Readable();
/**
* Attempts to read characters into the specified character buffer. The buffer is used
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Runnable.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+Runnable::~Runnable() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runnable.h Thu Nov 8 20:20:28 2012
@@ -19,17 +19,17 @@
#include <decaf/util/Config.h>
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
/**
* Interface for a runnable object - defines a task
* that can be run by a thread.
*/
- class DECAF_API Runnable{
+ class DECAF_API Runnable {
public:
- virtual ~Runnable(){}
+ virtual ~Runnable();
/**
* Run method - called by the Thread class in the context
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Runtime.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+Runtime::Runtime() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+Runtime::~Runtime() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Runtime.h Thu Nov 8 20:20:28 2012
@@ -31,11 +31,11 @@ namespace lang {
protected:
- Runtime() {}
+ Runtime();
public:
- virtual ~Runtime() {}
+ virtual ~Runtime();
/**
* Gets the single instance of the Decaf Runtime for this Process.
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "Throwable.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+Throwable::Throwable() : std::exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+Throwable::~Throwable() throw() {
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.h Thu Nov 8 20:20:28 2012
@@ -44,9 +44,9 @@ namespace lang{
class DECAF_API Throwable : public std::exception {
public:
- Throwable() : std::exception() {}
+ Throwable();
- virtual ~Throwable() throw() {}
+ virtual ~Throwable() throw();
/**
* Gets the cause of the error, if no message was provided to the instance
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.cpp Thu Nov 8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "ClassCastException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::ClassCastException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::~ClassCastException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::ClassCastException(const Exception& ex) : Exception() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::ClassCastException(const ClassCastException& ex) : Exception() {
+ *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::ClassCastException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::ClassCastException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ClassCastException::ClassCastException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+ va_list vargs;
+ va_start(vargs, msg);
+ buildMessage(msg, vargs);
+
+ // Set the first mark for this exception.
+ setMark(file, lineNumber);
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.cpp
------------------------------------------------------------------------------
svn:eol-style = native