TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
suhas setty
NA
128
52.1k
Write 15 lines above and below from where the exception
Jun 29 2015 6:19 AM
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.
Reply
Answers (
1
)
To write SOAP UI test cases using C#
Visual Studio 2012 c# asp.net Report viewer