Blame |
Last modification |
View Log
| RSS feed
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using BauzoidNET.app;
namespace BauzoidNET.parser
{
public class ScanException : ApplicationException
{
public ScanException() : base()
{
}
public ScanException(string message) : base(message)
{
}
public ScanException(string message, Exception inner) : base(message, inner)
{
}
// This constructor is needed for serialization.
protected ScanException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
public ScanException(string message, string surroundings)
{
LogUtil.log(Consts.LOG_TAG, message);
LogUtil.log(Consts.LOG_TAG, "near: " + surroundings);
}
}
}