P
philipl
hi,
I have a pluggin whiich throw an exception of the following user
defined exception:
public class SpellCheckException : ApplicationException
{
public SpellCheckException(string msg) : base(msg)
{
}
public SpellCheckException(string msg, Exception innerException) :
base(msg, innerException)
{
}
}
The following code in my exe(in the same directory level as my exe)
which loads the pluggin will not catch this exception in this catch
try statement, when the user defined user exception is thrown.
try
{
}
catch(SpellCheckException e)
{
}
Does anyone know why this is? When I use throw a normal system
'Exception' from the pluggin, a catch(Exception e) in my exe will
catch it properly. Know whats going on?
thx
-Philip
I have a pluggin whiich throw an exception of the following user
defined exception:
public class SpellCheckException : ApplicationException
{
public SpellCheckException(string msg) : base(msg)
{
}
public SpellCheckException(string msg, Exception innerException) :
base(msg, innerException)
{
}
}
The following code in my exe(in the same directory level as my exe)
which loads the pluggin will not catch this exception in this catch
try statement, when the user defined user exception is thrown.
try
{
}
catch(SpellCheckException e)
{
}
Does anyone know why this is? When I use throw a normal system
'Exception' from the pluggin, a catch(Exception e) in my exe will
catch it properly. Know whats going on?
thx
-Philip