removed some old cruft

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-03-16 19:47:30 +00:00
parent f21fe895a2
commit 68a542a097
2 changed files with 6 additions and 66 deletions

View File

@ -1,60 +0,0 @@
/*
* Copyright 2006 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed 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.
*/
using ActiveMQ.Commands;
using System;
using ActiveMQ.OpenWire;
namespace ActiveMQ.Commands
{
/// <summary>
/// Summary description for AbstractCommand.
/// </summary>
public abstract class AbstractCommand
{
private bool responseRequired;
protected AbstractCommand()
{
}
public virtual byte GetDataStructureType()
{
return 0;
}
public virtual bool IsMarshallAware()
{
return false;
}
// Properties
public bool ResponseRequired
{
get { return responseRequired; }
set { this.responseRequired = value; }
}
}
}

View File

@ -21,7 +21,7 @@ using System.IO;
namespace ActiveMQ.Commands
{
public struct StackTraceElement
public struct StackTraceElement
{
public string ClassName;
public string FileName;
@ -29,10 +29,10 @@ namespace ActiveMQ.Commands
public int LineNumber;
}
/// <summary>
/// Represents an exception on the broker
/// </summary>
public class BrokerError : AbstractCommand
/// <summary>
/// Represents an exception on the broker
/// </summary>
public class BrokerError : BaseCommand
{
private string message;
private string exceptionClass;
@ -64,7 +64,7 @@ namespace ActiveMQ.Commands
}
public String StackTrace
{
{
get {
StringWriter writer = new StringWriter();
PrintStackTrace(writer);