Better readability - sorry:

```java
	public void setTriStateBoolean(final String field, TristateBoolean newVal)
		throws IllegalArgumentException, PersistenceException{
		if (newVal == null)
			throw new IllegalArgumentException(
				"PersistentObject.setTriStateBoolean(): param newVal == null");
		String saveVal = "";
		if (newVal == TristateBoolean.TRUE)
			saveVal = StringConstants.ONE;
		if (newVal == TristateBoolean.FALSE)
			saveVal = StringConstants.ZERO;
		if (newVal == TristateBoolean.UNDEF)
			saveVal = StringConstants.EMPTY;
		boolean result = set(field, saveVal);
		if (result) {
			throw new PersistenceException(new ElexisStatus(Status.ERROR, CoreHub.PLUGIN_ID,
				ElexisStatus.CODE_NONE,
				"PersistentObject.setTriStateBoolean(): Error on saving value " + newVal
					+ " to field " + field, null));
		}
	}
```