api/jar/src/main/java/javax/slee/facilities/TimerPreserveMissed.java
public static TimerPreserveMissed fromInt(int option) throws IllegalArgumentException {
        switch (option) {
            case PRESERVE_NONE: return NONE;
            case PRESERVE_ALL: return ALL;
            case PRESERVE_LAST: return LAST;
            default: throw new IllegalArgumentException("Invalid preserve-missed value: " + option);
        }
    }
public static TimerPreserveMissed fromInt(int option) throws IllegalArgumentException {
        switch (option) {
            case PRESERVE_NONE: return NONE;
            case PRESERVE_ALL: return ALL;
            case PRESERVE_LAST: return LAST;
            default: throw new IllegalArgumentException("Invalid preserve-missed value: " + option);
        }
    }
Get a <code>TimerPreserveMissed</code> object from an integer value.
@param option the preserve-missed option as an integer.
@return a <code>TimerPreserveMissed</code> object corresponding to <code>option</code>.
@throws IllegalArgumentException if <code>option</code> is not a valid
preserve-missed option value.