We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d741b commit bdc3be7Copy full SHA for bdc3be7
circleimageview/src/main/java/de/hdodenhof/circleimageview/CircleImageView.java
@@ -82,7 +82,7 @@ public ScaleType getScaleType() {
82
@Override
83
public void setScaleType(ScaleType scaleType) {
84
if (scaleType != SCALE_TYPE) {
85
- throw new RuntimeException(); // TODO
+ throw new IllegalArgumentException(String.format("ScaleType %s not supported.", scaleType));
86
}
87
88
0 commit comments