summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/IpSecService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/IpSecService.java b/services/core/java/com/android/server/IpSecService.java
index ec275cc6f77d..c6fcd4bbd0e9 100644
--- a/services/core/java/com/android/server/IpSecService.java
+++ b/services/core/java/com/android/server/IpSecService.java
@@ -343,7 +343,7 @@ public class IpSecService extends IIpSecService.Stub {
public void setOwnedByTransform() {
if (mOwnedByTransform) {
// Programming error
- new IllegalStateException("Cannot own an SPI twice!");
+ throw new IllegalStateException("Cannot own an SPI twice!");
}
mOwnedByTransform = true;