Class ThreadInterruptedException
Thrown by Lucene on detecing that System.Threading.Thread.Interrupt had been called. This exception has the specific purpose of being allowed to pass through to the calling thread of J2N.Threading.ThreadJob so it reaches the appropriate handler.
Inheritance
System.Object
System.Exception
ThreadInterruptedException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
[Serializable]
public class ThreadInterruptedException : Exception, ISerializable, IRuntimeException
Constructors
| Improve this Doc View SourceThreadInterruptedException(Exception)
Declaration
public ThreadInterruptedException(Exception interruptedException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | interruptedException |
ThreadInterruptedException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected ThreadInterruptedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
ThreadInterruptedException(String)
Declaration
public ThreadInterruptedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
ThreadInterruptedException(String, Exception)
Declaration
public ThreadInterruptedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
Implements
System.Runtime.Serialization.ISerializable