Imports System.Runtime.Serialization

Namespace Data

    ''' <summary>
    ''' Represents the exception that is thrown when error is generated using Mercury.Mobile.Data components.
    ''' </summary>
    ''' <remarks></remarks>
    <Serializable()> _
    Public Class DataCoreException
        Inherits Exception

        Public Sub New()
            MyBase.New(My.Resources.Data_DefaultDataCoreException)
        End Sub

        Public Sub New(ByVal message As String)
            MyBase.New(message)
        End Sub

        Public Sub New(ByVal message As String, ByVal innerException As Exception)
            MyBase.New(message, innerException)
        End Sub

    End Class

End Namespace