mirror of
https://github.com/lightbend/config.git
synced 2025-02-22 09:10:32 +08:00
Add useful toString to ConfigException.ValidationProblem
This commit is contained in:
parent
f87cde2ae3
commit
a5df1fb8a2
@ -339,6 +339,11 @@ public abstract class ConfigException extends RuntimeException implements Serial
|
||||
public String problem() {
|
||||
return problem;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ValidationProblem(" + path + "," + origin + "," + problem + ")";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user