diff --git a/src/xbot/common/logging/RobotAssertionManager.java b/src/xbot/common/logging/RobotAssertionManager.java index d73ff252..34a6bce8 100644 --- a/src/xbot/common/logging/RobotAssertionManager.java +++ b/src/xbot/common/logging/RobotAssertionManager.java @@ -19,13 +19,13 @@ public final void throwException(RuntimeException e) { handlePlatformException(e); } - protected abstract void handlePlatformException(RuntimeException e); - - public abstract boolean isExceptionsEnabled(); - public final void throwException(String message, Throwable cause) { throwException(new RuntimeException(message, cause)); } + + protected abstract void handlePlatformException(RuntimeException e); + + public abstract boolean isExceptionsEnabled(); public final void assertTrue(boolean value, String assertionFaliureCause) { if(!value) {