public Message check( String message ) throws NoSuchMessageException
    {
        if (decorated.canCheck( message )) return decorated.check( message );

        Message check = getCheckMessage( message );
        if (check == null) throw new NoSuchMessageException( message );

        return check;
    }
public Message check ( String message ) throws NoSuchMessageException { if ( decorated . canCheck ( message ) ) return decorated . check ( message ) ; Message check = getCheckMessage ( message ) ; if ( check == null ) throw new NoSuchMessageException ( message ) ; return check ; }
{@inheritDoc}