Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Write 15 lines above and below from where the exception
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
suhas setty
9y
474
1
Reply
Hi ,
i am reading the log file,if i found exception from that particular line i have to write 15 lines from that exception line to text file.
Example:
a
b
b
bgggfgf
sdffs
dfsadfds
adsfdsaf
dsfsdafs
adasdas
sadasdsadas
as
dasdsadsad
adasdsada
sdasdsad
sdsadasdsadas
sdasdsadasd
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
dadasdsad
sdasdsads
System.Reflection.ReflectionTypeLoadException:
sadasdasdasd
dasdasdsad
Now i got exception at line no 19 so now i have to copy above 15 lines and below 15 lines.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
To write SOAP UI test cases using C#
Visual Studio 2012 c# asp.net Report viewer