/** * Get the valid whitespace token-context-path by calling * <tt>getWhitespaceTokenContextPath()</tt>. Throw * <tt>IllegalStateException</tt> if the whitespace-token-id is null. */ public TokenContextPath getValidWhitespaceTokenContextPath() { TokenContextPath wsTCP = getWhitespaceTokenContextPath(); if (wsTCP == null) { throw new IllegalStateException("Null whitespace token-context-path"); } return wsTCP; }
/** Get the valid whitespace token-context-path * by calling <tt>getWhitespaceTokenContextPath()</tt>. * Throw <tt>IllegalStateException</tt> if the whitespace-token-id is null. */ public TokenContextPath getValidWhitespaceTokenContextPath() { TokenContextPath wsTCP = getWhitespaceTokenContextPath(); if (wsTCP == null) { throw new IllegalStateException("Null whitespace token-context-path"); // NOI18N } return wsTCP; }