Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
16ff6816
Commit
16ff6816
authored
6 years ago
by
Gregory.Shrago
1
Browse files
Options
Download
Email Patches
Plain Diff
restore getThrowableText and add test
(cherry picked from commit
3d5cc0c7
)
parent
37c1bd3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/util-rt/src/com/intellij/util/ExceptionUtilRt.java
+3
-3
platform/util-rt/src/com/intellij/util/ExceptionUtilRt.java
with
3 additions
and
3 deletions
+3
-3
platform/util-rt/src/com/intellij/util/ExceptionUtilRt.java
+
3
-
3
View file @
16ff6816
...
...
@@ -50,7 +50,7 @@ public class ExceptionUtilRt {
private
boolean
skipping
;
@Override
public
void
print
ln
(
final
String
x
)
{
public
void
print
(
String
x
)
{
boolean
curSkipping
=
skipping
;
if
(
x
!=
null
)
{
if
(!
skipping
&&
x
.
startsWith
(
skipPattern
))
curSkipping
=
true
;
...
...
@@ -64,12 +64,12 @@ public class ExceptionUtilRt {
return
;
}
if
(
x
.
startsWith
(
prefixProxy
))
return
;
super
.
print
ln
(
x
);
super
.
print
(
x
);
}
}
};
aThrowable
.
printStackTrace
(
writer
);
return
stringWriter
.
getBuffer
().
toString
();
return
stringWriter
.
getBuffer
().
toString
()
.
trim
()
;
}
private
static
String
stripPackage
(
String
x
,
int
offset
)
{
...
...
This diff is collapsed.
Click to expand it.
小 白蛋
@baidan
mentioned in commit
4179b996
·
2 years ago
mentioned in commit
4179b996
mentioned in commit 4179b996bffb5a9ea9115c7cedbbf27aa6a26a53
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment